mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-23 12:26:59 +01:00
Removed unneeded ScrollContainer form PaintProjectToolsPropertyInspector.
This commit is contained in:
parent
6ad8f67551
commit
5514c64c86
@ -65,14 +65,9 @@ PaintProjectToolsPropertyInspector::PaintProjectToolsPropertyInspector() {
|
|||||||
VBoxContainer *main_container = memnew(VBoxContainer);
|
VBoxContainer *main_container = memnew(VBoxContainer);
|
||||||
add_child(main_container);
|
add_child(main_container);
|
||||||
|
|
||||||
ScrollContainer *scroll_container = memnew(ScrollContainer);
|
|
||||||
scroll_container->set_custom_minimum_size(Size2(0, 145));
|
|
||||||
scroll_container->set_enable_h_scroll(false);
|
|
||||||
main_container->add_child(scroll_container);
|
|
||||||
|
|
||||||
_button_contianer = memnew(HFlowContainer);
|
_button_contianer = memnew(HFlowContainer);
|
||||||
scroll_container->add_child(_button_contianer);
|
main_container->add_child(_button_contianer);
|
||||||
_button_contianer->set_h_size_flags(SIZE_EXPAND_FILL);
|
//_button_contianer->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||||
_button_contianer->set_v_size_flags(SIZE_EXPAND_FILL);
|
_button_contianer->set_v_size_flags(SIZE_EXPAND_FILL);
|
||||||
|
|
||||||
//Button *button = memnew(Button);
|
//Button *button = memnew(Button);
|
||||||
|
Loading…
Reference in New Issue
Block a user