Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
what's triggered on page resize, using TemplateProcessor?
#4
(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 ;-(
Reply


Messages In This Thread
RE: what's triggered on page resize, using TemplateProcessor? - by iwuser - 02-29-2024, 06:51 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)