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

TabbedPane's Table has no direct access to pane's instance #169

Closed
czyzby opened this issue May 2, 2016 · 2 comments
Closed

TabbedPane's Table has no direct access to pane's instance #169

czyzby opened this issue May 2, 2016 · 2 comments
Labels

Comments

@czyzby
Copy link
Contributor

@czyzby czyzby commented May 2, 2016

While it's not exactly a bug, it would be nice if TabbedPane stored a TabbedPaneTable with a reference to the pane - kind of like ListView does with ListViewTable. Currently there's no way to access TabbedPane when all you have is the table, and accessing specific cells (like the ones storing separator or drag pane) is problematic. Having access to TabbedPaneTable that providers getters of important TabbedPane cells would allow to fully customize the widget with ease.

@kotcrab
Copy link
Owner

@kotcrab kotcrab commented May 2, 2016

I understand the thing about getting access to TabbedPane from TabbedPaneTable. I don't get the accessing specific cells part, the tabbed pane's mainTable will have only two cells, one with DragPane and one with separator. Do you think it's worth providing explicit getters for those?

@czyzby
Copy link
Contributor Author

@czyzby czyzby commented May 2, 2016

Well, Scene2D sometimes does that. I don't see why you shouldn't include these, although TabbedPane getter will certainly be enough.

@kotcrab kotcrab closed this in 01eb2ed May 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.