Skip to content

Fix on some computers, the gallery layout is not good#1092

Merged
batzen merged 1 commit intofluentribbon:developfrom
orrindeng:pr
Dec 28, 2022
Merged

Fix on some computers, the gallery layout is not good#1092
batzen merged 1 commit intofluentribbon:developfrom
orrindeng:pr

Conversation

@orrindeng
Copy link
Copy Markdown
Contributor

On some computers, the gallery's layout may become like this.

image

I found childBounds.X >= xBound. The childBounds.X is 232.39999999... , but the xBound is 232.4. So the 7th gallery item renders in an incorrect position.

@batzen batzen merged commit 7c9344c into fluentribbon:develop Dec 28, 2022
@batzen
Copy link
Copy Markdown
Member

batzen commented Dec 28, 2022

Thanks for contributing!

batzen added a commit that referenced this pull request Dec 28, 2022
@orrindeng orrindeng deleted the pr branch December 29, 2022 00:53
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.

2 participants