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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vertical buttons? #633

Closed
DrDaleks opened this issue Jan 5, 2023 · 2 comments
Closed

Vertical buttons? #633

DrDaleks opened this issue Jan 5, 2023 · 2 comments
Milestone

Comments

@DrDaleks
Copy link

DrDaleks commented Jan 5, 2023

First off thanks a million for this awesome library 馃憦.

I'm currently using tabbed panes with side (left or right) tab placement, but in order to save screen space I'd like to have these buttons vertical (typically the way IDEA does it for side views)

I might have missed it but I don't see a way to get vertical (read +/- 90deg rotated) buttons from client properties. Is that a thing?

I've ended up doing things "manually" by creating a RotatedJButton class and using a JToolbar to handle the tab selection "old-school".

Thanks in advance for your advice.

P.S.: now that I write this, would it make sense to just build a "regular" (horizontal) JToolbar and just rotate the whole thing via UI to make it vertical? If so, would that hack apply to tabbed panes as well?

@DevCharly
Copy link
Collaborator

See PR #758

@DevCharly
Copy link
Collaborator

implemented in latest 3.3-SNAPSHOT: https://github.com/JFormDesigner/FlatLaf#snapshots

@DevCharly DevCharly added this to the 3.3 milestone Dec 21, 2023
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

No branches or pull requests

2 participants