Announcement

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

    RibbonBar and vertical orientation in 13.1d


    Hi.
    I am using the RibbonBar with vertical orientation buttons (big icon, text below). I upgraded to 13.1d but the setOrientation no longer works. This is also no longer working in the SmartGWT showcase. The thumbnail shows what the button looked like, but the showcase shows all buttons horizontal:
    https://smartclient.com/smartgwt/showcase/#ribbonbar
    Am I missing something?

    #2
    The sample in the showcase has been updated to use RibbonButton instead of the deprecated IconButton and IconMenuButton classes.

    In order to use a RibbonButton, you can use code like this:
    Code:
            RibbonButton ribbonButton = new RibbonButton();
            ribbonButton.setTitle(title);
            ribbonButton.setMenu(menu);
            ribbonButton.setVertical(vertical);
    where you can use ribbontButton.setVertical() to control how you want to see the button in the RibbonGroup.

    Best Regards
    Isomorphic Sofware

    Comment

    Working...
    X