Removed the set_child_rect() in AcceptDialog. AcceptDialog now works as a container!

This commit is contained in:
Juan Linietsky 2017-01-10 01:49:55 -03:00
parent a503f8aadc
commit 48097f6df3
48 changed files with 92 additions and 101 deletions

View file

@ -1280,7 +1280,7 @@ ScriptTextEditor::ScriptTextEditor() {
add_child(color_panel);
color_picker = memnew(ColorPicker);
color_panel->add_child(color_picker);
color_panel->set_child_rect(color_picker);
color_panel->set_child_rect(color_picker); //NOT
color_picker->connect("color_changed", this, "_color_changed");
edit_hb = memnew (HBoxContainer);