diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-02-14 16:38:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-14 16:38:27 +0100 |
commit | 309303d92cc60de80dd26f0fce03906fbdd0b9fd (patch) | |
tree | 8e4c8f12877437c04875370ae20ffba9103c0656 /scene/resources | |
parent | 2551db44e1d30c0c11feb6cd51ca049e055e9bd0 (diff) | |
parent | 842cb1ad8c06b9abd74f351149b0e6bc5c3a787b (diff) |
Merge pull request #15592 from paulloz/textedit-initial-size
set a better initial size to TextEdit nodes
Diffstat (limited to 'scene/resources')
-rw-r--r-- | scene/resources/default_theme/default_theme.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index a4049e4461..3e244aa8f8 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -448,10 +448,10 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const // TextEdit - theme->set_stylebox("normal", "TextEdit", make_stylebox(tree_bg_png, 3, 3, 3, 3)); + theme->set_stylebox("normal", "TextEdit", make_stylebox(tree_bg_png, 3, 3, 3, 3, 0, 0, 0, 0)); theme->set_stylebox("focus", "TextEdit", focus); - theme->set_stylebox("read_only", "TextEdit", make_stylebox(tree_bg_disabled_png, 4, 4, 4, 4)); - theme->set_stylebox("completion", "TextEdit", make_stylebox(tree_bg_png, 3, 3, 3, 3)); + theme->set_stylebox("read_only", "TextEdit", make_stylebox(tree_bg_disabled_png, 4, 4, 4, 4, 0, 0, 0, 0)); + theme->set_stylebox("completion", "TextEdit", make_stylebox(tree_bg_png, 3, 3, 3, 3, 0, 0, 0, 0)); theme->set_icon("tab", "TextEdit", make_icon(tab_png)); |