PDA

View Full Version : [RESOLVED] Arrow align not working



dario
6 May 2009, 5:41 AM
Hi

I cannot manage to align a toolbar split button arrow to the right (although this should be the default value).

Here's my the relevant code



tbar: new Ext.Toolbar ({
items : [
this.filterTextField = new Ext.app.SearchField({
width : 140,
emptyText : "filter"
}),{
tooltip : "add",
icon : WebRoot + "content/images/add16.png"
},'-',{
tooltip : "collapse all",
icon : WebRoot + 'content/images/default/layout/ns-collapse.gif'

},{
tooltip : "expand All",
icon : WebRoot + 'content/images/default/layout/ns-expand.gif'
},{
tooltip : "",
iconCls : "icon-showAll"
},{
text : "hello!",
icon : WebRoot + "content/images/info.png",
xtype : 'splitbutton'
}]
})



and here's a test page showing the error:

http://www.get2getr.com/test.html

Any hint?
Thanks in advance

Condor
6 May 2009, 5:55 AM
A splitbutton MUST have a menu!

dario
6 May 2009, 6:25 AM
A splitbutton MUST have a menu!
Ouch,

thanks Condor, problem solved!