<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<big>Get rid of the second set of square brackets. Used naked by it
self like that is guaranteed to get you odd results. Also the
initial split separator is not needed.<br>
Matt Priour<br>
</big>
<div class="moz-cite-prefix">On 1/8/2013 8:44 AM, Luís de Sousa
wrote:<br>
</div>
<blockquote
cite="mid:CAEtdG7s+67UE467Smw9O6pTsMJUOn5x66fQx-9cCETFRCywA9w@mail.gmail.com"
type="cite">
<pre wrap="">Dear all,
I have a toolbar with a few buttons, separators and a split button.
The code that creates this toolbar can be found below, and in
attachment is a small picture with the result. As you can see, each
item is assortedly align in the vertical. My question would be how to
align all these items together, in line with the split button.
Thank you and regards,
Luís
###########################################33
tbar: {
height: 100,
items:[
'-',
[{
                         iconCls: "pan",
                         map: WebGIS.map,
                         pressed: true,
                         toggleGroup: "tools",
                         allowDepress: false,
                         tooltip: "Navigate",
                         control: new OpenLayers.Control.Navigation()
         },{
                         iconCls: "print",
                         map: WebGIS.map,
                         toggleGroup: "tools",
                         allowDepress: false,
                         tooltip: "Print - still in development",
                         disabled: true
         }],
'-',
'->',
'-',
{
xtype:'splitbutton',
text: 'Open Street Map',
menu: [{
         text: 'Open Street Map',
         checked: true,
         handler : WebGIS.baseOSM,
         group: 'baseLayer'
},{
         text: 'Google Satellite',
         checked: false,
         handler : WebGIS.baseGoogleSat,
         group: 'baseLayer'
}]
        }]
}
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@geoext.org">Users@geoext.org</a>
<a class="moz-txt-link-freetext" href="http://www.geoext.org/cgi-bin/mailman/listinfo/users">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>