-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix column content changes #1688
Conversation
91ec7ba
to
2aa729d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one was broken before the code change. It showed the B
at 50%, not at the bottom.
c532c61
to
54c9073
Compare
We had a bug where changes to a column's content wouldn't trigger all the necessary layout updates.
54c9073
to
7615b59
Compare
rootNode.requestedWidth = Size.Undefined | ||
rootNode.requestedMaxWidth = Size.Undefined | ||
rootNode.requestedHeight = Size.Undefined | ||
rootNode.requestedMaxHeight = Size.Undefined | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any downside to not specifying the requested sizes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This just clears them out so that we can set the ones we want below. Otherwise it ends up accumulating both exact and max values when it’s repeatedly measured.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably create an Issue to have these work with Compose UI so we don't forget about it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can do better than that. I can fix the problem!
#1691
We had a bug where changes to a column's content wouldn't trigger all the necessary layout updates.