PDA

View Full Version : [FIXED] [PR 1] Ext.Panel -> bodyPadding, bodyMargin



tobiu
16 Oct 2011, 9:10 AM
hi team,

the 2 configs

bodyPadding
bodyMargin

are missing in PR 1.

this was extremely useful for Ext.form.Panel, when you want to get rid the of the innerPadding of 1em.



.x-form > .x-panel-inner, .x-form .x-scroll-container > .x-panel-inner {
padding: 1em;
}

tobiu
16 Oct 2011, 9:29 AM
the main problem i see is, that in ST 1 panel extended ext.lib.panel:
http://docs.sencha.com/touch/1-1/source/Panel.html#Ext-Panel

in ST 2 it extends container, so big parts of the logic in between are missing.

IMHO you shortened the code too much!