You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Removed the set_child_rect() in AcceptDialog. AcceptDialog now works as a container!
This commit is contained in:
@@ -254,7 +254,7 @@ ScriptEditorQuickOpen::ScriptEditorQuickOpen() {
|
||||
|
||||
VBoxContainer *vbc = memnew( VBoxContainer );
|
||||
add_child(vbc);
|
||||
set_child_rect(vbc);
|
||||
//set_child_rect(vbc);
|
||||
search_box = memnew( LineEdit );
|
||||
vbc->add_margin_child(TTR("Search:"),search_box);
|
||||
search_box->connect("text_changed",this,"_text_changed");
|
||||
@@ -2247,7 +2247,7 @@ ScriptEditor::ScriptEditor(EditorNode *p_editor) {
|
||||
{
|
||||
VBoxContainer *vbc = memnew( VBoxContainer );
|
||||
disk_changed->add_child(vbc);
|
||||
disk_changed->set_child_rect(vbc);
|
||||
// disk_changed->set_child_rect(vbc);
|
||||
|
||||
Label *dl = memnew( Label );
|
||||
dl->set_text(TTR("The following files are newer on disk.\nWhat action should be taken?:"));
|
||||
|
||||
Reference in New Issue
Block a user