Hey Torsten,
2009/9/19 Torsten Schulz <[email protected]>:
> Hi,
>
> I've found a little problem with WCheckbox. I'd set top, left and
> position:absolute in my class. The Checkbox self was set on right
> position, but the Label for the Checkbox was set on wrong position. So I
> looked in Firebug for the reason, and I found out, these are the code
> created for WCheckBox:
>
> <span id="o1cd" name="o1cd">
> <input id="ino1cd" class="adminRegionsActiveEdit" type="checkbox"
> name="ino1cd"/>
> <label id="o1ce" for="ino1cd">Ja
> </label>
> </span>
>
>
> Here I'm not able to set the class for id o1cd, so maybe it must be
> possible to set the class for o1cd too, maybe with something like
> WCheckBox::setOuterStyleClass or anything else. I don't tested it, but
> maybe it's the same for WRadioButton?
You are indeed right. I think the best way to fix this is by applying
the style class to the surrounding span in the first place. There is
nothing interesting about the checkbox itself that can be styled, and
even if there were, you could use a scoped css selector (".myclass
input").
Thanks,
koen
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest