Merge pull request #90283 from YeldhamDev/pure_squares

Remove border roundness inside panels of `AcceptDialog` windows
This commit is contained in:
Rémi Verschelde 2024-04-06 13:07:01 +02:00
commit e5b4ef8e95
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -639,7 +639,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
// Dialogs // Dialogs
// AcceptDialog is currently the base dialog, so this defines styles for all extending nodes. // 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)); theme->set_constant("buttons_separation", "AcceptDialog", Math::round(10 * scale));
// File Dialog // File Dialog