Merge pull request #90283 from YeldhamDev/pure_squares
Remove border roundness inside panels of `AcceptDialog` windows
This commit is contained in:
commit
e5b4ef8e95
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue