![]() |
TIWLabel AutoSize not working when aligned top - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html) +--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html) +---- Forum: English (https://www.atozed.com/forums/forum-16.html) +----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html) +----- Thread: TIWLabel AutoSize not working when aligned top (/thread-3322.html) |
TIWLabel AutoSize not working when aligned top - Lenfors - 06-20-2023 Hello! If I set the Align property of aTIWLabel to alNone the control resizes nicely depending on Font and text ![]() But If I set Align to alTop the height of the control does not adjust!? Best regads, Mikael RE: TIWLabel AutoSize not working when aligned top - Alexandre Machado - 06-25-2023 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. |