-
'selectfield' Issue
Not exactly sure what changed from Beta 2 to Beta 3 form components.
This worked fine in Beta2 but in beta3, labelWidth : 0 makes the 'selectfield', 'textfield' width smaller (50%) than what it should be.
For example, with beta 2, textfield width was about 320px but, with beta3 it's only 160px with labelWidth=0.
Code:
{
xtype : 'selectfield',
options : [
{text : 'Option1', value : '0'},
{text : 'Option2', value : '1'},
{text : 'Option3', value : '2'}
],
placeHolder : 'Select an option',
labelWidth : 0
}
Thanks for the help.
-
Odd... I have this and it spans the entire width of my screen:
Code:
new Ext.Container({
fullscreen : true,
items : [
{
xtype : 'selectfield',
options : [
{text : 'Option1', value : '0'},
{text : 'Option2', value : '1'},
{text : 'Option3', value : '2'}
],
placeHolder : 'Select an option',
labelWidth : 0
}
]
});
-
Thanks, at least now I know it's an issue on my side. :))