Announcement

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

  • Hirn
    replied
    It would be nice to add to the documentation the impossibility of using these two icons at the same time

    Leave a comment:


  • Isomorphic
    replied
    Hello. This is a documented limitation, although if it's important to you, the Feature Sponsorship program would allow you to expand functionality here, so that tabs could have multiple functional icons without the need to use Canvas.imgHTML() to create your own interactive icons.

    Leave a comment:


  • Hirn
    replied
    Is there any news on this issue?

    Leave a comment:


  • Hirn
    started a topic TabSet.setCanCloseTabs and Tab.setIcon conflict

    TabSet.setCanCloseTabs and Tab.setIcon conflict

    if I set setCanCloseTabs(true) for TabSet, then the icons for Tab disappear
    Code:
    public class TestBug implements EntryPoint {
    
        public void onModuleLoad() {
            TabSet templatesTabSet = new TabSet();
            templatesTabSet.setTabBarPosition(Side.TOP);
            templatesTabSet.setWidth("100%");
            templatesTabSet.setHeight("*");
            templatesTabSet.setCanCloseTabs(true);
    
            String[] titles = new String[] {"tab 1", "tab 2", "tab 3"};
            for(String title:titles) {
                    Tab tab = new Tab(title, "[SKINIMG]Dialog/say.png");
                    tab.setPaneMargin(0);
                    templatesTabSet.addTab(tab);
            }
    
            templatesTabSet.draw();
       }
    }
    SmartClient Ajax RIA system
    Version v12.1p_2023-05-19/Pro Deployment (2023-05-19)
    Last edited by Hirn; 11 Nov 2023, 07:44.
Working...
X