Skip to content

Commit 6d8657f

Browse files
committed
element/text: do not cache preferred size
Currently, the preferred size of text depends on the previous size, which leads to oscilations and weird edge cases where text may not grow correctly. This also removes hacks around text using the max size of the parent not the actual size it was given. This does not impact performance because the pango layout is cached.
1 parent 0f124a0 commit 6d8657f

3 files changed

Lines changed: 185 additions & 113 deletions

File tree

0 commit comments

Comments
 (0)