Announcement

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

    TabSet.setTabBarControls() Showing Controls to the Left of the Tabs

    Hello, I would like to add a custom control on the left side of the tab set, and right align the tabs. Is this possible? If not, can I fake it somehow using an overlaid element?

    Thanks,
    Sergey

    #2
    Its possible, you have to use TabSet.setTabBarAlign(Side.RIGHT); first off to right align the tabs. Then you would have to overlay (say your dynamicForm) over the header portion of the tabset. You'll want the tabs to be the same height as your dynamicForm too.
    DynamicForm f = new DynamicForm();
    ...
    f.setLeft(TabSet.getLeft());
    f.setTop(TabSet.getTop());
    f.draw();

    Comment

    Working...
    X