Merge pull request #20621 from YeldhamDev/bottom_panel_min

Adjust bottom panel's minimal height for the expand icon
This commit is contained in:
Rémi Verschelde
2018-08-14 15:57:19 +02:00
committed by GitHub

View File

@ -5448,6 +5448,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);