Replies: 2 comments 1 reply
-
Hi, I don't quite follow what you are asking. Perhaps draw a diagram? |
Beta Was this translation helpful? Give feedback.
-
Looks like that's going to be a great UI.
Their height is set by their parent layout, i.e. "footer". You can set a "minimum_size" with a ratio so the footer won't shrink beyond whatever you set it to. You may be expecting the (sub) layouts to adjust their size to the content, but I'm afraid that's not what happens. What you put inside of the layout won't influence the the split. But you could adjust the layout when your content changes. |
Beta Was this translation helpful? Give feedback.
-
Hi all!
I readthedocs that when the Layout direction is horizontal, the size param is in characters width rather than in rows of height. When vertical, size is rows/lines in height.
How then for a horizontal Layout can one determine the height of the Layout by number of lines? The only control I can see is ratio which is the scaled height, but I'd like to set a maximum height on the horizontal Layout - ie, I know the panel is only ever going to contain three lines of text so I'd like to make it 7 lines tall (2 above, 3 text, 2 below)...
I'm happy for the horizontal Layouts around this box to scale, but this one I would like to stay fixed at a certain height.
Thanks for any help in advance. Loving rich and how extensive it has gotten so quickly!
D
Beta Was this translation helpful? Give feedback.
All reactions