-
10 Aug 2010 5:35 AM #1
How to align two comboboxes right next to each other?
How to align two comboboxes right next to each other?
I have one Ext.form.TimeField and I want to align another Ext.form.TimeField to the right of it without it going on a new line. For example I set width to 50 to make both small enough and want to place both next to each other.
-
10 Aug 2010 5:57 AM #2
It seems that layout: 'anchor' is what I am currently using.
Is table layout what I need?
-
10 Aug 2010 8:37 AM #3
-
10 Aug 2010 10:25 PM #4
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:
And in registrationformPanel: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 }],
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
Similar Threads
-
MD Comboboxes
By seek in forum Ext 3.x: Help & DiscussionReplies: 8Last Post: 9 Mar 2010, 2:49 AM -
I need help concerning comboboxes
By jahman in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 29 Apr 2009, 4:10 AM -
How to align Textfield and Comboboxes in a Form
By dschonhals in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 28 Oct 2008, 9:45 AM -
Toolbar: to align or not to align
By soad in forum Community DiscussionReplies: 1Last Post: 4 May 2007, 1:35 AM -
ComboBoxes get?
By pex in forum Ext 1.x: Help & DiscussionReplies: 0Last Post: 12 Apr 2007, 5:49 AM


Reply With Quote