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

26 views
Skip to first unread message

regnoult axel

unread,
Dec 2, 2012, 8:02:49 PM12/2/12
to google-we...@googlegroups.com
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,


Jens

unread,
Dec 3, 2012, 2:08:56 AM12/3/12
to google-we...@googlegroups.com
Use   instead.

-- J.

Reply all
Reply to author
Forward
0 new messages