summaryrefslogtreecommitdiffstats
path: root/editor/editor_themes.cpp
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2022-09-07 00:55:57 +0300
committerYuri Sizov <yuris@humnom.net>2022-09-07 01:42:11 +0300
commit5eaf82b4f0a242c0cd6cb04ace0cf3a883a842ab (patch)
treebfeeffb96e4beb070f17a5b624aadae40409a238 /editor/editor_themes.cpp
parent432c4c40a9d29c127a5957944ca8f805dfb836ce (diff)
downloadredot-engine-5eaf82b4f0a242c0cd6cb04ace0cf3a883a842ab.tar.gz
Make AcceptDialog and derivatives utilize StyleBox fully
Diffstat (limited to 'editor/editor_themes.cpp')
-rw-r--r--editor/editor_themes.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp
index 6934c2d13c..6e983996fd 100644
--- a/editor/editor_themes.cpp
+++ b/editor/editor_themes.cpp
@@ -1420,6 +1420,7 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
// AcceptDialog
theme->set_stylebox("panel", "AcceptDialog", style_window_title);
+ theme->set_constant("buttons_separation", "AcceptDialog", 8 * EDSCALE);
// HScrollBar
Ref<Texture2D> empty_icon = memnew(ImageTexture);