Hey Luís,

is

    height: 100,

needed? It might cause the problems.

Regards,
Marc


On 08.01.2013 15:44, Luís de Sousa wrote:
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'
                }]
                }]
     }


_______________________________________________
Users mailing list
Users@geoext.org
http://www.geoext.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@geoext.org
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to