Announcement

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

    Font-Size of Button and MenuButton does not match

    Hi there,

    The font-size of the menuButton and normal buttons does not match, so it looks really ugly
    Its reproducable with all current browser versions.
    Its a problem with Tahoe-Skin in all densities with the latest downloadable nightly SmartClient_SNAPSHOT_v111d_2017-06-25_Pro

    Dense:

    Medium

    Spacious


    Also you may notice that the baseline of the text of the buttons is different in every density (like reported here: http://forums.smartclient.com/forum/...and-datepicker) an therefore it's never the same baseline as in the MenuItem, even in medium-density.

    For example this is what Spacious looks like with the Enterprise-Skin. There is also a small missmatch between the bottomline of the buttons

    In Medium-Density the bottomline matches correctly in Enterprise Skin


    For reproduction:
    Code:
    isc.ToolStrip.create({
        "ID": "toolstrip",
        "width": "100%",
        "members":
        [isc.Button.create({
                "ID": "theButton",
                "title": "The Button",
                "icon": "https://cdn4.iconfinder.com/data/icons/pictype-free-vector-icons/16/home-24.png"
            }),
            isc.MenuButton.create({
                "ID": "theMenuButton",
                "title": "The Menu",
                "icon": "https://cdn4.iconfinder.com/data/icons/pictype-free-vector-icons/16/home-24.png",
                menu: isc.Menu.create({
                    "ID": "theMenu",
                    "data":
                    [{
                            "ID": "theSubMenu",
                            "icon": "https://cdn4.iconfinder.com/data/icons/pictype-free-vector-icons/16/home-24.png",
                            "title": "submenu"
                        }
                    ]
                })
            })]
    })
    Last edited by SimonF; 27 Jun 2017, 05:57.

    #2
    We've made some changes to the Tahoe skin to address this. These will be present in the next nightly build

    Regards
    Isomorphic Software

    Comment

    Working...
    X