[Chameleon] WIDGETSTYLE not working

Julien-Samuel Lacroix jlacroix at mapgears.com
Thu Dec 14 09:46:42 EST 2006


Hi,
The WidgetStyle attribute is only working for few widgets. Others, like 
ZoomOut, simply do nothing with it. Here's the list I think:

$ grep -rl WIDGETSTYLE *
ContextSelector
Cursorpos
Extent
JSList
MapTitle
MapUnits
ProjectionLabel
ROIArea
ROIAttributes
RulerResult
Scale

To do what you want you can maybe put the class in the <td> around each 
widgets.

Julien

Ben Thompson wrote:
> I want my widget buttons centered in the toolbar.
> this should be simple, but has been impossible.
> this style is in the css:
> 
> .controlIcon {margin-bottom:7px;margin-left:1px; }
> 
> none of the following work:
> 
> <CWC2 TYPE="ZoomOut" ......WIDGETSTYLE = "controlIcon">
> <CWC2 TYPE="ZoomOut" ......WIDGETSTYLE = "margin-bottom:7px">
> <span class="controlIcon"><cwc2......></span>
> 
> surely his should be a no-brainer?
> Thanx, Ben
> 
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon

-- 
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/


More information about the Chameleon mailing list