Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

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

    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

    #2
    This has been fixed so that there is no longer an interaction between overflow and align. Thanks for pointing this out.

    Comment

    Working...
    X