02-29-2024, 06:51 PM
(02-28-2024, 07:28 PM)valmeras Wrote: I use templates in my application.
If you just want the component to resize on the template, put it directly on the template without a IWRegion. And set the dimension you want to resize to "auto".
Example: {%ComponentName style="width: auto;"}
Or {%ComponentName style="width: 100%;"}
It depends how the components properties are setup
Don't forget to configure the parameters of StyleRenderOptions of the component correctly
Thanks, but in this case this unfortunately does not work: this is TMS Chart component and it creates an internal <IMG> tag inside it's outer one (which resizes just fine) and that has fixed width/height. I was hoping to set these programmatically, when the page is resized, but cannot find a suitable event ;-(