[Complex Text Layouts] Adds missing Font::SPACING_* to the Label, LineEdit, TextEdit, TextLine and TextParagraph.
Fixes oversized editor control height (default editor spacing is negative) and control size changing when text is set.
This commit is contained in:
parent
d834789f47
commit
a458e90179
9 changed files with 85 additions and 52 deletions
|
|
@ -41,6 +41,8 @@ class TextParagraph : public Reference {
|
|||
|
||||
RID rid;
|
||||
Vector<RID> lines;
|
||||
int spacing_top = 0;
|
||||
int spacing_bottom = 0;
|
||||
|
||||
bool dirty_lines = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue