Skip to content

Commit

Permalink
Remove border roundness inside panels of AcceptDialog windows
Browse files Browse the repository at this point in the history
  • Loading branch information
YeldhamDev committed Apr 6, 2024
1 parent 79de2ea commit 167b0ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/theme/default_theme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
// Dialogs

// AcceptDialog is currently the base dialog, so this defines styles for all extending nodes.
theme->set_stylebox("panel", "AcceptDialog", make_flat_stylebox(style_popup_color, Math::round(8 * scale), Math::round(8 * scale), Math::round(8 * scale), Math::round(8 * scale)));
theme->set_stylebox("panel", "AcceptDialog", make_flat_stylebox(style_popup_color, Math::round(8 * scale), Math::round(8 * scale), Math::round(8 * scale), Math::round(8 * scale), 0));
theme->set_constant("buttons_separation", "AcceptDialog", Math::round(10 * scale));

// File Dialog
Expand Down

0 comments on commit 167b0ac

Please sign in to comment.