Merge pull request #26092 from YeldhamDev/top_bar_spacing
Add small spacing between top bars in main editor and project manager
This commit is contained in:
commit
6b0ecb7266
2 changed files with 2 additions and 0 deletions
|
|
@ -5004,6 +5004,7 @@ EditorNode::EditorNode() {
|
|||
main_vbox = memnew(VBoxContainer);
|
||||
gui_base->add_child(main_vbox);
|
||||
main_vbox->set_anchors_and_margins_preset(Control::PRESET_WIDE, Control::PRESET_MODE_MINSIZE, 8);
|
||||
main_vbox->add_constant_override("separation", 8 * EDSCALE);
|
||||
|
||||
menu_hb = memnew(HBoxContainer);
|
||||
main_vbox->add_child(menu_hb);
|
||||
|
|
|
|||
|
|
@ -1901,6 +1901,7 @@ ProjectManager::ProjectManager() {
|
|||
VBoxContainer *vb = memnew(VBoxContainer);
|
||||
panel->add_child(vb);
|
||||
vb->set_anchors_and_margins_preset(Control::PRESET_WIDE, Control::PRESET_MODE_MINSIZE, 8 * EDSCALE);
|
||||
vb->add_constant_override("separation", 8 * EDSCALE);
|
||||
|
||||
String cp;
|
||||
cp += 0xA9;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue