This content has been marked as final.
Show 3 replies
-
1. Re: Dynamically resize the panel
yannick1976 Nov 10, 2014 5:33 AM (in response to Massinissa)Not sure what your question is exactly, but :
If you want to manually resize a panel, I think you can't.
If you want to do something when the user resizes your panel, you do it just like with a web page, for example by adding an attribute to the body tag :
<body onresize="resizeDisplay()">
And create a resizeDisplay() function in your js. This function will then be executed when user resizes your panel.
-
2. Re: Dynamically resize the panel
Massinissa Nov 10, 2014 1:11 PM (in response to yannick1976)I mean resize panel with javascript, example :
var winGeom = new WindowGeometry();
winGeom.width = 100;
winGeom.height = 200;
myCSInterface.requestStateChange( StateChangeEvent.WINDOW_RESIZE, winGeom );
;-)
-
3. Re: Dynamically resize the panel
DBarranca Nov 12, 2014 2:53 AM (in response to Massinissa)Hi,
Can't be done yet, please see: Re: Resize an extension Panel from script
Davide Barranca
---
www.davidebarranca.com
www.cs-extensions.com

