I have a panel defined like this:
Ext.define('E.view.portfolio.Construction', { extend: 'Ext.form.Panel', xtype: 'portfolioconstruction', closable: true, layout: 'border', baseCls: 'module-workspace',
Inside this panel, I have an array of elements. One element is another panel. Here is the definition of this panel:
{ region: 'center', xtype: 'portfoliosettings', itemId: 'portfolioSettings', title: 'Portfolio Settings', collapsible: true, collapseDirection: 'right', collapsedCls: 'portfolio-settings-collapsed', flex: 10, cls: 'module-section portfolio-settings', frame: true, padding: 0, margin: 0 }
The width setting on this panel is not affected. Setting maxWidth and minWidth causes a lot of extra space to be placed around the panel. Is there a way to use the flex property while maintaining the maximum width of the panel? This forced me to decide to increase the size of the image with high resolution (1920 x 1080) or not to fit the content at low resolutions (1024 x 768).
Is there some kind of happy environment or am I stuck with this?
source share