Skip to content

fix #44 - #54

Open
edwloef wants to merge 1 commit into
iced-rs:mainfrom
edwloef:fix-44
Open

edwloef wants to merge 1 commit into
iced-rs:mainfrom
edwloef:fix-44

Conversation

@edwloef

@edwloef edwloef commented Oct 7, 2026 •

Copy link
Copy Markdown

I went ahead and adjusted it in all the other spots as well, there were probably lurking bugs there also.

The reason that this was broken is that the position of the text depends on its alignment. E.g. when top-left-aligned the text position is the top left corner of the rendered text, but when centered the text position is the middle of the rendered text. As such, the clip bounds were incorrect, since they assumed the text to be top-left-aligned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant