Skip to content

Conversation

@zachs18
Copy link

@zachs18 zachs18 commented Apr 6, 2025

Fixes #534

In Cursor::fit, do not push the cursor down to the next line due to width overflow if the cursor is currently at the left edge.

Not sure how this should handle margins, should it be like self.x < self.margin + 1.0? The existing self.x + size.x < self.area.w - self.margin * 2. seems like self.x is the position after the margin, so I'm not sure.

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.

Regression in 0.3.14: UI layouts incorrectly when parent is smaller than child

1 participant