Hello, I made a template, there is a view canvas included. but when I use this template in overview page, this canvas can not change size according to persent, how can I solve this? or this is the feature of perspective?
Every element would need to have a scaling width and height.
The embeded view, its root the canvas and all the elemnts inside the canvas.
It looks like the canvas elements are not dynimcally configured, could you share the code of the canvas?
I configured the canvas elements , and it test is ok..
problem is when I use this template, I need adjust the size of the template sometimes, then this canvas element can not change size according to the template.
Can you give the code of the view (RT_PCT) and the canvas("movement" or also the whole view with it CS_PCT). as een export or by copying the json formatted with the format button
It looks like you only want the width to scale? since you are adjusting the top yourself through some script
I say not clear, please look at the picture, problem is when I adjust this template, this RB160 part can not adjust accordingly.
export the views
and upload them here so i can look at them
PCT_2024-07-20_1246.zip (8.5 KB)
You should have given the RT_PCT too...
But i already see one thing that is wrong,
set width of the instance to 100% and turn off useDefaultViewWidth
Thanks a lot.