PDA

View Full Version : [OPEN] [Modern 6.5] Layout error with Card-Layout



JoraRst
23 Jun 2017, 10:38 AM
I get unexpected results when using the card-layout:

223n

Both the bottom and the right hand side of the container don't respect the size/padding/margins of the parent. When forcing the the card layout in a container that has a fit-layout it works for that level.

JoraRst
23 Jun 2017, 10:59 AM
For this moment the following override seems to provide a quick work-around, although not yet thoroughly tested:



Ext.define('Ext.overrides.Card', {
override: 'Ext.layout.Card',

cls: Ext.baseCSSPrefix + 'layout-fit',
itemCls: Ext.baseCSSPrefix + 'layout-fit-item'
});

evant
24 Jun 2017, 5:44 AM
Thanks for the report! I have opened a bug in our bug tracker.