kotcrab/vis-ui

[VisUI Request] Images in tabbed pane

Opened this issue · 2 comments

I would like to see some images instead of just text in my tabbed pane.

I'm assuming you mean having image next to the text in the tab selector. It's currently not possible to do, that widget is hard coded to use text button.

@SPRAVEDLIVO I tinkered with this. I think this could be done if TabbedPane.TabButtonTable and tabsButtonMap were not private. This way it could be possible to subclass and put in your own implementation. Then you could make a subclass of TabbedPane and override the add method and insert your own newly created TabButtonTable (which supports images). I had to stop here once I saw TabButtonTable was private.