diff options
| author | Daniel J. Ramirez <djrmuv@gmail.com> | 2017-07-18 14:35:37 -0500 |
|---|---|---|
| committer | Daniel J. Ramirez <djrmuv@gmail.com> | 2017-07-19 13:23:16 -0500 |
| commit | 95f55c8f0d0e56fd039333b611d12f88b74cde78 (patch) | |
| tree | 60f4e8a231d9b2c8d1cb84a69b418eac04adabda /editor/editor_themes.cpp | |
| parent | 9cf72d0ae174badab07b1461f576955725375046 (diff) | |
| download | redot-engine-95f55c8f0d0e56fd039333b611d12f88b74cde78.tar.gz | |
Icons can now be added inside line edits (Search icon).
Fixed window title bar margins.
fixed compilation error
Diffstat (limited to 'editor/editor_themes.cpp')
| -rw-r--r-- | editor/editor_themes.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp index 4e8f7029ff..6b985c7b4b 100644 --- a/editor/editor_themes.cpp +++ b/editor/editor_themes.cpp @@ -434,7 +434,8 @@ Ref<Theme> create_editor_theme() { theme->set_icon("close", "WindowDialog", title_hl_close_icon); theme->set_icon("close_highlight", "WindowDialog", title_hl_close_icon); theme->set_constant("close_h_ofs", "WindowDialog", 22 * EDSCALE); - theme->set_constant("close_v_ofs", "WindowDialog", 18 * EDSCALE); + theme->set_constant("close_v_ofs", "WindowDialog", 20 * EDSCALE); + theme->set_constant("title_height", "WindowDialog", 24 * EDSCALE); // HScrollBar Ref<Texture> empty_icon = memnew(ImageTexture); |
