Merge pull request #114259 from passivestar/runbar-content-margin

Fix content margins of the editor runbar in modern theme
This commit is contained in:
Rémi Verschelde 2026-01-01 16:46:48 +01:00
commit 57ea31509d
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -1790,6 +1790,7 @@ void ThemeModern::populate_editor_styles(const Ref<EditorTheme> &p_theme, Editor
// Launch Pad and Play buttons.
Ref<StyleBoxFlat> style_launch_pad_movie = p_config.base_style->duplicate();
style_launch_pad_movie->set_content_margin_all(p_config.base_margin * EDSCALE);
style_launch_pad_movie->set_bg_color(p_config.accent_color * Color(1, 1, 1, 0.2));
style_launch_pad_movie->set_border_color(p_config.accent_color * Color(1, 1, 1, 0.8));
style_launch_pad_movie->set_border_width_all(Math::round(2 * EDSCALE));