[Users] Vertical alignement of objects in toolbar
Marc Jansen
jansen at terrestris.de
Fri Jan 11 12:38:53 CET 2013
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 at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20130111/311831b3/attachment.htm
More information about the Users
mailing list