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

Add a toolbar for main GUI "views" #1057

Merged
merged 6 commits into from
May 14, 2022
Merged

Add a toolbar for main GUI "views" #1057

merged 6 commits into from
May 14, 2022

Conversation

vkbo
Copy link
Owner

@vkbo vkbo commented May 10, 2022

Summary:

This PR adds a toolbar on the left margin of the screen. There are two buttons that replace the Project / Novel tabs under the project tree, and a button that switches to Outline view. The three toolbar buttons under the project tree have also been moved to the bottom of this new toolbar.

This redesign uses slightly more horizontal space than the old layout, but only a few pixels. The toolbar is a bit wider than the tabs that were removed on the right side. However, the toolbar looks a bit more modern than the tabs. It also more flexible as the buttons can be used in a few more ways than a plain tab can. More features can be moved here for quick access.

Related Issue(s):

Resolves #1056

Reviewer's Checklist:

  • The header of all files contain a reference to the repository license
  • The overall test coverage is increased or remains the same as before
  • All tests are passing
  • All flake8 checks are passing and the style guide is followed
  • Documentation (as docstrings) is complete and understandable
  • Only files that have been actively changed are committed

@vkbo vkbo added this to the Release 1.7 Beta 1 milestone May 10, 2022
@vkbo vkbo merged commit badb768 into main May 14, 2022
@vkbo vkbo deleted the views branch May 14, 2022 17:12
@vkbo vkbo mentioned this pull request May 15, 2022
6 tasks
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.

Replace tabs with "Views" buttons in a toolbar
1 participant