Announcement

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

    button label no longer centered

    I tried running with SC9 today and came across a pretty noticeable change. We have buttons that can have iconOrientation as "top". But because SC does not allow this out of box, we've hacked it by using html tags in the title. In version SmartClient_v83p_2013-07-24, the image AND the text appears centered relative to the button's width. When I run the same case in 9.0, the text starts on the same point as the image does. Is this a bug or did you guys fix something? If this is how it is supposed to behave, how do I make it go back to the old behaviour?

    Code:
    isc.Button.create({
        left: 200,height:200,
        title: "<img src = 'http://localhost:8777/isomorphic/system/reference/exampleImages/icons/16/icon_add_files.png'/><br>CSS Button"
    
    });

    #2
    This is the result of a bugfix.

    As far as your hack, you could either:

    1. use Feature Sponsorship to have this as real feature

    2. look into whatever additional CSS or HTML you need to apply to get the centering you want. It may differ by browser.

    Comment

    Working...
    X