-
Notifications
You must be signed in to change notification settings - Fork 892
Align doesn't work with height and min-height combination in widget #5608
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
Comments
TomJGooding
added a commit
to TomJGooding/textual
that referenced
this issue
Mar 4, 2025
Fix issue with alignment in containers with auto _and_ min height/width. Currently the size of the parent passed to `_align_size` doesn't account for any min height/width when the container has auto dimensions. Fixes Textualize#5608
3 tasks
This issue with auto containers with auto children is proving tricky! The container size seems correct in the latest version at least, hopefully just the alignment need ironing out... |
Merged
Don't forget to star the repository! Follow @textualizeio for Textual updates. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
This example shows that align property is not working well. Static widget should be positioned vertically in the middle of
CustomWidget
. It was broken between 0.83.0 version and 2.1.2.With deleted
min-height
and staticheight: 3
static widget is positioned properly:The text was updated successfully, but these errors were encountered: