From 167b0ac8d5f13d2073c36fd3fcc7dea75c9492d3 Mon Sep 17 00:00:00 2001 From: Michael Alexsander Date: Fri, 5 Apr 2024 19:21:00 -0300 Subject: [PATCH] Remove border roundness inside panels of `AcceptDialog` windows --- scene/theme/default_theme.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/theme/default_theme.cpp b/scene/theme/default_theme.cpp index 7ab1d399fb6e..d1d8854b180e 100644 --- a/scene/theme/default_theme.cpp +++ b/scene/theme/default_theme.cpp @@ -639,7 +639,7 @@ void fill_default_theme(Ref &theme, const Ref &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