1 Attachment(s)
field set with column layout
Please take a look at the attached screenshot.
The code looks like this:
Code:
{
xtype:"fieldset",
title:"Farbe",
autoHeight:true,
items:
[{
layout:"column",
items:
[{
columnWidth:0.2,
items:
[{
xtype:"form",
title:"",
hideBorders: true,
items:
[{
xtype:"numberfield",
fieldLabel:"C",
border: false,
bodyBorder: false,
name:"numbervalue",
width:50
}]
}]
}]
}]
}
There are two problems:
1) The text field width is not 50% of the field set width. Why not? After all, I included columnWidth:0.5.
2) Why are the borders of the inner form panel still shown? I mean seriously, I used all border-related properties and gave them values that should get rid of them.
P.S. I have spent the last 3 hours on this...