Set property to auto (Priority support)

<< Click to Display Table of Contents >>

Navigation:  Forum >

Set property to auto (Priority support)

Forum link

 


 

05-19-2023, 07:39 PM:

 

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?

 


 

05-24-2023, 08:26 AM:

 

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.