vis-ui icon indicating copy to clipboard operation
vis-ui copied to clipboard

[VisUI Request] Images in tabbed pane

Open SPRAVEDLIVO opened this issue 4 years ago • 2 comments

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

SPRAVEDLIVO avatar Dec 02 '20 23:12 SPRAVEDLIVO

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.

kotcrab avatar Dec 09 '20 22:12 kotcrab

@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.

dayrinni avatar Mar 18 '23 03:03 dayrinni