PDA

View Full Version : combo e textinput alignement



giordoya
25 May 2010, 11:33 PM
Hy, this is my problem: I want to align a combobox on the left and a textbox (in the same line) on the right.
I'm using a compositefield.
| |
| combobox --------------------- textfield|
| |
please can someone help me?

Condor
26 May 2010, 12:42 AM
xtype: 'compositefield',
anchor: '100%',
items: [{
xtype: 'combo',
width: 200,
...
},{
xtype: 'box',
flex: 1
},{
xtype: 'textfield',
width: 200,
...
}]

giordoya
26 May 2010, 5:02 AM
Great!
a beer 4U thank