I want to make a zoom in and zoom out on my panel when I tap on a button + and - , here's my code to do the + action
As I expect, the panel size changes, but the elements like text, images, ..., doesn't change. I don't know what to do, I have no clue to proceed.
var scrwidth = Ext.getCmp('pan').getWidth( );
var scrHeight = Ext.getCmp('pan').getHeight( );
Ext.getCmp('pan').setHeight( scrHeight + ( scrHeight/4));
Ext.getCmp('pan').setWidth( scrWidth + ( scrWidth/4));