No matter how I set Size, it shows the smallest width and height, right #3775
-
code:
} |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Have a look at https://developer.fyne.io/explore/layouts (especially the video at the bottom) and https://developer.fyne.io/faq/layout. Your VBox layout collapses all the content to its smallest vertical size (MinSize). |
Beta Was this translation helpful? Give feedback.
-
Although my problem has been solved, but the layout of fyne makes me feel that it is not flexible. I cannot set the size and position of a container. |
Beta Was this translation helpful? Give feedback.
-
window.SetContent( |
Beta Was this translation helpful? Give feedback.
Have a look at https://developer.fyne.io/explore/layouts (especially the video at the bottom) and https://developer.fyne.io/faq/layout. Your VBox layout collapses all the content to its smallest vertical size (MinSize).