Bladeren bron

Adjust bottom panel's minimal height for the expand icon

Michael Alexsander Silva Dias 7 jaren geleden
bovenliggende
commit
22ffaded01
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  1. 1 0
      editor/editor_node.cpp

+ 1 - 0
editor/editor_node.cpp

@@ -5434,6 +5434,7 @@ EditorNode::EditorNode() {
 	bottom_panel->add_child(bottom_panel_vb);
 	bottom_panel->add_child(bottom_panel_vb);
 
 
 	bottom_panel_hb = memnew(HBoxContainer);
 	bottom_panel_hb = memnew(HBoxContainer);
+	bottom_panel_hb->set_custom_minimum_size(Size2(0, 24)); // Adjust for the height of the "Expand Bottom Dock" icon.
 	bottom_panel_vb->add_child(bottom_panel_hb);
 	bottom_panel_vb->add_child(bottom_panel_hb);
 
 
 	bottom_panel_hb_editors = memnew(HBoxContainer);
 	bottom_panel_hb_editors = memnew(HBoxContainer);