Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIWLabel AutoSize not working when aligned top
#1
Big Grin 
Hello!

If I set the Align property of aTIWLabel to alNone the control resizes nicely depending on Font and text [Image: biggrin.png] 

But If I set Align to alTop the height of the control does not adjust!?

Best regads, Mikael
Reply
#2
If you set Align to anything other than alNone, the size of the control (not only IWLabel) will be determined by the outer container, not the size of the text. This is by design and it is in accordance with other VCL controls with similar features.

The IWLabel adjusts its width but not the height when the text doesn't fit the available area.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)