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

Tree: rounded selection #546

Closed
wants to merge 2 commits into from

Conversation

DevCharly
Copy link
Collaborator

This PR enables using "rounded" selection for tree selection.

This is not yet used in any theme, but intended to be used
for macOS themes (see PR #533) and future Windows 11 style themes.

Perhaps this should also be used for existing themes to make tree selection more beautiful.

Example

grafik

UI properties for above screenshot (see Application properties files):

Tree.selectionInsets = 0,1,0,1
Tree.selectionArc = 6

@DevCharly DevCharly added this to the 3.0 milestone Jun 2, 2022
@DevCharly
Copy link
Collaborator Author

Non-wide selection is also supported:

grafik

Tree.wideSelection = false
Tree.selectionInsets = 0,0,0,0
Tree.selectionArc = 6

Or with a gap:

grafik

Tree.wideSelection = false
Tree.selectionInsets = 1,0,0,0
Tree.selectionArc = 6

DevCharly added a commit that referenced this pull request Oct 30, 2022
@DevCharly DevCharly deleted the branch menus-rounded-selection October 30, 2022 09:44
@DevCharly DevCharly closed this Oct 30, 2022
@DevCharly
Copy link
Collaborator Author

The PR is merged. Don't know why GitHub did not recognize it.

@DevCharly DevCharly deleted the tree-rounded-selection branch October 30, 2022 09:50
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.

None yet

1 participant