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
How to create widget in expanded form? #479
Comments
The VBox and HBox widgets are shrinking their contents - their layout stretches in one dimension (width for VBox and height for HBox) and shrinks to min on the other - this is how their contents are packed. |
good to know, thanks. But which container should be used if need packed several widgets? |
That depends on how you wish them to be laid out... Vbox and HBox are just helpers around fyne.NewContainerWithLayout - and so fyne.Container is the correct container, but you can apply various layouts (from the layout package). |
MCVE:
I want that out widget fill all available horizontal space. It's not clear for me how to do it from documentation or samples.
The text was updated successfully, but these errors were encountered: