mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-03-31 01:05:29 +02:00
Size the Tones Editor properly.
This commit is contained in:
parent
fc969f4331
commit
a3da8b16ba
@ -215,7 +215,7 @@ MMTonesEditor::MMTonesEditor() {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
_histogram_tr = memnew(TextureRect);
|
_histogram_tr = memnew(TextureRect);
|
||||||
_histogram_tr->set_custom_minimum_size(Vector2(0, 100));
|
_histogram_tr->set_custom_minimum_size(Vector2(128, 128));
|
||||||
_histogram_tr->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
_histogram_tr->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||||
add_child(_histogram_tr);
|
add_child(_histogram_tr);
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
HISTOGRAM_IMAGE_SIZE = 256,
|
HISTOGRAM_IMAGE_SIZE = 128,
|
||||||
};
|
};
|
||||||
|
|
||||||
void set_value(const Ref<MMTones> &v);
|
void set_value(const Ref<MMTones> &v);
|
||||||
|
Loading…
Reference in New Issue
Block a user