PDA

View Full Version : [2.0a1] IE6 anchor: '100%'



lscpu
1 Oct 2007, 2:51 AM
Using anchor:'100%' on datefield in IE6 causes datefield not to be shown.

reproducible in examples/form/anchoring:


},{
xtype: 'datefield', // only change
fieldLabel: 'Subject',
name: 'subject',
anchor: '100%' // anchor width by percentage
}, {



probable cause: if the field is bigger than container, field is not shown (in same example):


},{
fieldLabel: 'Subject',
name: 'subject',
width: 500 // anchor width by percentage
}, {



If page starts with DTD, there is same problem with textfields (not sure if it is bug).

jack.slocum
1 Oct 2007, 3:36 AM
Until we address the issue, try anchor:'-1'

lscpu
1 Oct 2007, 3:59 AM
Until we address the issue, try anchor:'-1'

'-1' is not working; it has to be at least '-3'

temporary workaround: anchor:!Ext.isIE||Ext.isIE7?'100%':'-3'

bcmatz
10 Jun 2008, 8:38 AM
Any solutions on this ???:-?