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

@ -683,7 +683,7 @@ ColorPickerButton::ColorPickerButton() {
popup = memnew( PopupPanel );
picker = memnew( ColorPicker );
popup->add_child(picker);
popup->set_child_rect(picker);
picker->connect("color_changed",this,"_color_changed");
add_child(popup);
}