diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-07 09:09:15 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-07 09:09:15 +0200 |
commit | 2841bc358c74784220941d23d081cb298794d977 (patch) | |
tree | c6eb7b326b189e2fff9109fae0d158e1575b0576 /editor | |
parent | e350d79cda44276483ed20396947ac7f321bbd2e (diff) | |
parent | 5eaf82b4f0a242c0cd6cb04ace0cf3a883a842ab (diff) |
Merge pull request #65446 from YuriSizov/dialogs-make-styleboxes-matter
Make `AcceptDialog` and derivatives utilize `StyleBox` fully
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_themes.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp index 09e02dd6c0..5bf79635b8 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); |