Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VisUI Request] Images in tabbed pane #347

Open
SPRAVEDLIVO opened this issue Dec 2, 2020 · 2 comments
Open

[VisUI Request] Images in tabbed pane #347

SPRAVEDLIVO opened this issue Dec 2, 2020 · 2 comments

Comments

@SPRAVEDLIVO
Copy link

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

@kotcrab
Copy link
Owner

kotcrab commented Dec 9, 2020

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.

@dayrinni
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants