Announcement

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

    Is this TabBar behavior by design?

    SmartGWT 4.1d LDPL 2013-11-07

    This didn't work...
    Code:
    Public MyClass extends Layout
    {
      TabSet tabs = new TabSet();
      TabBar tabBarForSkinning = new TabBar();
    
      public MyClass()
      {
          tabBarForSkinning.setStyleName("xxxx");
          tabs.setTabBarProperties(tabBarForSkinning);
      }
    }
    But this did....
    Code:
    Public MyClass extends Layout
    {
      TabSet tabs = new TabSet();
    
      @Override
      protected void onDraw()
      {
         TabBar test = tabs.getTabBar();
         test.setStyleName("xxxx");
      }
    }
    By design, or a bug? :)
    -B
Working...
X