How to make the window non-resizable while automatic layout is enabled? #2514
Answered
by
ogoffart
peterjc123
asked this question in
Q&A
-
Alternatively, can I get the current width and height of the widgets under automatic layout? |
Beta Was this translation helpful? Give feedback.
Answered by
ogoffart
Apr 11, 2023
Replies: 1 comment
-
You can use the So I think you want something like this:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
peterjc123
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use the
width
andheight
properties of the window to make it fix, and thepreferred-width
/preferred-height
properties of a layout to know the size it would have.So I think you want something like this:
demo