-
22 Feb 2011 6:40 AM #1
[FIXED]Form fields in toolbar break layout
[FIXED]Form fields in toolbar break layout
When using form fields (text field, combo) in a toolbar, it utterly breaks the layout of the toolbar.
Code:Ext.onReady(function() { var app = Ext.create("Ext.container.Viewport", { layout: "border", items: [{ region: "center", title: "Test", dockedItems: [{ dock: "top", xtype: "toolbar", items: [{ xtype: "tbtext", text: "Whatever" }, " ", { xtype: "textfield", width: 100, value: "Foobar" }, { xtype: "combo", queryMode: "local", store: new Ext.data.Store({ fields: [ "value", "display" ], data: [[1, "Spam"], [2, "Egg"]] }) }] }] }] }); });
-
22 Feb 2011 7:51 AM #2
Okay, it seems specifying size and "hideLabel: true" helps. I don't recall having to do this in Ext JS 3 though.
-
15 Mar 2011 3:26 AM #3
This should be resolved in the next release. Note you still need to use hideLabel on the fields.
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
extraneous line break in toolbar menu
By scusyxx in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 25 Nov 2010, 9:16 AM -
[FIXED][3.0rc1.1] hbox layout messing with form fields heights
By usiw in forum Ext 3.x: BugsReplies: 5Last Post: 12 May 2009, 5:32 AM -
[FIXED] [3.0rc1.1] hbox layout messing with form fields heights
By usiw in forum Ext 3.x: Help & DiscussionReplies: 4Last Post: 11 May 2009, 4:19 AM -
Form layout: want to put in non-form field headers betwen fields
By Stoob in forum Ext 2.x: Help & DiscussionReplies: 4Last Post: 9 Jun 2008, 10:32 AM -
Form layout: any way to reduce vertical space between form fields?
By dante in forum Ext 2.x: Help & DiscussionReplies: 5Last Post: 28 Mar 2008, 11:14 AM


Reply With Quote