Skip to main content

Can't hug width and fix height


Alia Atwell

I made a form field where additional text can be shown to the right of the entry. I only need text on the right, so I didn’t wrap it in a frame like the entry field. I had to set the height of the text container to a set value so it lines up with the entry on the left. However, if I switch it to hug the contents of the text, I can’t choose to only hug the width without changing the height. I can’t use line height - it centers instead of positioning on the bottom. Obviously, I could wrap it in a frame, and then the frame can control hug separately. This is just a pain, adding more structure that I wouldn’t otherwise need if it just did what it looks like it does. It also took me a bit to realize what was happening, since I assumed that if I set hug on the width, it would only hug the width. 

 

This was also shared here in a closed thread so I don’t think this is a just me thing. If there are two controls and I change one, it should only change that one. If I wanted to change both, I would use the buttons above.

 

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings