Sunday, December 2, 2012

Using (LabelElement) setInnerText("") change my layout...

Hello,

I have a widget that sometimes has its LabelElement's field equal to "" (maybe it is the same that saying it is equals to null ?).

I initialize the content of this LabelElement with setInnerText().

But then my layout's alignement change (widgets are not yet aligned) and I have unsuccessfully tried to resolve the problem playing with css (height = 18px) or with setInnerHTML()...

So temporarly I use a fake caracter ("-") instead of ""...Could you help me ?
Thanks you,


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/mOcoCe_aUvoJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment