Merge pull request #69643 from Chaosus/vcs_rendering_fix
Fix incorrect rendering of vcs dialogs
This commit is contained in:
commit
74b245f2b5
1 changed files with 2 additions and 2 deletions
|
@ -988,7 +988,7 @@ VersionControlEditorPlugin::VersionControlEditorPlugin() {
|
||||||
metadata_dialog->set_title(TTR("Create Version Control Metadata"));
|
metadata_dialog->set_title(TTR("Create Version Control Metadata"));
|
||||||
metadata_dialog->set_min_size(Size2(200, 40));
|
metadata_dialog->set_min_size(Size2(200, 40));
|
||||||
metadata_dialog->get_ok_button()->connect(SNAME("pressed"), callable_mp(this, &VersionControlEditorPlugin::_create_vcs_metadata_files));
|
metadata_dialog->get_ok_button()->connect(SNAME("pressed"), callable_mp(this, &VersionControlEditorPlugin::_create_vcs_metadata_files));
|
||||||
version_control_actions->add_child(metadata_dialog);
|
add_child(metadata_dialog);
|
||||||
|
|
||||||
VBoxContainer *metadata_vb = memnew(VBoxContainer);
|
VBoxContainer *metadata_vb = memnew(VBoxContainer);
|
||||||
metadata_dialog->add_child(metadata_vb);
|
metadata_dialog->add_child(metadata_vb);
|
||||||
|
@ -1017,7 +1017,7 @@ VersionControlEditorPlugin::VersionControlEditorPlugin() {
|
||||||
set_up_dialog->set_min_size(Size2(600, 100));
|
set_up_dialog->set_min_size(Size2(600, 100));
|
||||||
set_up_dialog->add_cancel_button("Cancel");
|
set_up_dialog->add_cancel_button("Cancel");
|
||||||
set_up_dialog->set_hide_on_ok(true);
|
set_up_dialog->set_hide_on_ok(true);
|
||||||
version_control_actions->add_child(set_up_dialog);
|
add_child(set_up_dialog);
|
||||||
|
|
||||||
Button *set_up_apply_button = set_up_dialog->get_ok_button();
|
Button *set_up_apply_button = set_up_dialog->get_ok_button();
|
||||||
set_up_apply_button->set_text(TTR("Apply"));
|
set_up_apply_button->set_text(TTR("Apply"));
|
||||||
|
|
Loading…
Reference in a new issue