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

JideTabbedPane improvements #306

Merged
merged 13 commits into from
Apr 13, 2021
Merged

JideTabbedPane improvements #306

merged 13 commits into from
Apr 13, 2021

Conversation

DevCharly
Copy link
Collaborator

This PR updates the look of JideTabbedPane to match JTabbedPane, adds tab separators and fixes some issues.

image

List of improvements:

  • new scroll and list buttons
  • new tab close buttons
  • support tab separators
  • support selected tab background
  • scale tab gripper
  • fixed disabled tab text, which was unreadable in dark themes
  • fixed tab icon and title locations in vertical tabs
  • tab layout fixes for compact resize mode
  • fixed location of tab title editing box
  • hide tab selection and tab area separator for tabbedPane.setHideOneTab(true) if tabbed pane contains only one tab

Tab Separators

image

Enable for all tabbed panes in application (JideTabbedPane and JTabbedPane) with:

UIManager.put( "TabbedPane.showTabSeparators", true );

Or for single tabbed pane with:

tabbedPane.putClientProperty( "JTabbedPane.showTabSeparators", true );

Selected Tab Background

image

Enable for all tabbed panes in application (JideTabbedPane and JTabbedPane) with:

UIManager.put( "TabbedPane.selectedBackground", Color.white );

@DevCharly
Copy link
Collaborator Author

BTW here is a screenshot of the test application used to develop/test JideTabbedPane support:

image

And here is the one for JTabbedPane support:

image

@DevCharly DevCharly merged commit ef7289d into main Apr 13, 2021
@DevCharly DevCharly deleted the jidetabbedpane branch April 13, 2021 14:32
@DevCharly DevCharly added this to the 1.2 milestone Apr 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant