Skip to content

Commit cc64b48

Browse files
the-phinetdpjudas
authored andcommitted
Fix textwrap no applying on update
1 parent 700a4e4 commit cc64b48

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/widgets/lineedit/lineedit.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -950,6 +950,11 @@ void LineEdit::OnGeometryChanged()
950950
{
951951
Canvas* canvas = GetCanvas();
952952

953+
for (auto& line : lines)
954+
{
955+
line.invalidated = true;
956+
}
957+
953958
vertical_text_align = canvas->verticalTextAlign();
954959

955960
clip_start_offset = 0;

0 commit comments

Comments
 (0)