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

Change theme selection UI #2931

Merged
merged 3 commits into from
Mar 25, 2023
Merged

Conversation

ltrzesniewski
Copy link
Contributor

@ltrzesniewski ltrzesniewski commented Mar 20, 2023

Closes #2929

Problem

The theme selector combobox in the toolbar seems out of place.

Solution

  • Any comments on the approach taken, its consistency with surrounding code, etc.

    This replaces the theme selector in the toolbar with a menu item and a setting in the options:

    image

    image

  • Which part of this PR is most in need of attention/improvement?

    The theme is currently saved in the SessionSettings, and this PR doesn't change that. But this leads to updating the SessionSettings from the DisplaySettings panel.

    An alternative would be to move the theme to DisplaySettings, but that would require updating it when switching the theme from the main menu and saving it on exit just like the SessionSettings, so I'm not sure if that would be better in the end.

@ltrzesniewski ltrzesniewski changed the title Add theme menu item Change theme selection UI Mar 20, 2023
@siegfriedpammer siegfriedpammer merged commit 1b99486 into icsharpcode:master Mar 25, 2023
@ltrzesniewski ltrzesniewski deleted the themes-ui branch March 25, 2023 11:36
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.

Theme Selection UI Affordances
2 participants