fixed Import LineEdit to label + label stylebox
- added a normal stylebox to label. default is StyleBoxEmpty - changed drawing so that it draws correct with styleboxes with margins - changed the LineEdit in the import to use a label with the lineEdit stylebox
This commit is contained in:
parent
19aff15a1a
commit
9fdc4874b2
4 changed files with 19 additions and 13 deletions
|
|
@ -408,6 +408,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
|
|||
|
||||
// Label
|
||||
|
||||
theme->set_stylebox("normal", "Label", memnew(StyleBoxEmpty));
|
||||
theme->set_font("font", "Label", default_font);
|
||||
|
||||
theme->set_color("font_color", "Label", Color(1, 1, 1));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue