You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix spacing between icon and "Output" button
This commit is contained in:
@@ -1453,6 +1453,9 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
|
||||
theme->set_stylebox("panel", "TabContainer", style_content_panel);
|
||||
|
||||
// Bottom panel.
|
||||
theme->set_type_variation("BottomPanelButton", "Button");
|
||||
// Add separation for the warning/error icon.
|
||||
theme->set_constant("h_separation", "BottomPanelButton", 6 * EDSCALE);
|
||||
Ref<StyleBoxFlat> style_bottom_panel = style_content_panel->duplicate();
|
||||
style_bottom_panel->set_corner_radius_all(corner_radius * EDSCALE);
|
||||
theme->set_stylebox("BottomPanel", "EditorStyles", style_bottom_panel);
|
||||
|
||||
Reference in New Issue
Block a user