
Originally Posted by
Chods
You could do although I normally use columnLayout or sometimes hbox
I found out I am already using column layout, but I didn't get it to work, as the combobox is allocated in the next column. What I want is to essentially have two comboboxes in the same column. What's the easiest way to accomplish this with my existing layout?
Code:
Code:
var window = new Ext.Window({
title: 'Registrer',
width: 800,
height:500,
minWidth: 800,
minHeight: 500,
layout: 'anchor',
plain:false,
bodyStyle:'padding:5px;',
buttonAlign:'center',
closable: false,
items: [{
items: registrationformPanel
},{
items: infoPanel
}],
And in registrationformPanel:
Code:
items: [{
layout:'column',
items:[{
columnWidth:.50,
layout: 'form',
items: [
company_id,
company_name,
orgno,
firstname,
lastname,
address1,
postalcode,
postalarea
]
},{
columnWidth:.50,
layout: 'form',
items: [
phone1,
mobile,
fax1,
email,
www,
bankaccount,
member_password,
member_confirm_password,
bransje