Clean up setting dialogues a bit.

This commit is contained in:
Ray Koopa 2017-12-17 18:22:26 +01:00
parent cacab4ba62
commit 0d04f212a3
6 changed files with 81 additions and 45 deletions

View file

@ -1690,13 +1690,13 @@ ProjectSettingsEditor::ProjectSettingsEditor(EditorData *p_data) {
vbc->set_anchor_and_margin(MARGIN_LEFT, ANCHOR_BEGIN, 0);
vbc->set_anchor_and_margin(MARGIN_RIGHT, ANCHOR_END, 0);
l = memnew(Label);
vbc->add_child(l);
l->set_text(TTR("Action:"));
hbc = memnew(HBoxContainer);
vbc->add_child(hbc);
l = memnew(Label);
hbc->add_child(l);
l->set_text(TTR("Action:"));
action_name = memnew(LineEdit);
action_name->set_h_size_flags(SIZE_EXPAND_FILL);
hbc->add_child(action_name);