Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

setOverflow(Overflow.HIDDEN) and text-align:center

$
0
0
In SmartGWT 4.0p (Chrome 31), when using a Button, setOverflow(Overflow.HIDDEN) sets the inline CSS as:

style="overflow:hidden;text-overflow:ellipsis;text-align:left"

for example. This overrides what you have set for setAlign(). If you want your button's text to be centered, there appears to be no way to do that if you want overflow hidden. Is there a way to do this? In 3.1p you could still have the button's text centered while using setOverflow(Overflow.HIDDEN).

Thanks

Viewing all articles
Browse latest Browse all 4756

Trending Articles