Atozed Forums
Set property to auto (Priority support) - 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: Set property to auto (Priority support) (/thread-3243.html)



Set property to auto (Priority support) - valmeras - 05-19-2023

I am using C++ Builder 10.2.3 with Intraweb 15.3.6
Is there a way to set the width or the height of a component to 'auto'?
Even with components like TIWImage which has autosize property, I would like to be able to set one property fixed and the other one auto?


RE: Set property to auto (Priority support) - Alexandre Machado - 05-24-2023

Currently not, unless you use templates.

Depending on the component you can disable the size rendering (via StyleRenderOptions) and they will adapt to the container but it really depends on the controls involved.