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

GUI Tweaks #278

Merged
merged 10 commits into from
Jun 2, 2020
Merged

GUI Tweaks #278

merged 10 commits into from
Jun 2, 2020

Conversation

vkbo
Copy link
Owner

@vkbo vkbo commented Jun 2, 2020

Mostly minor improvements to the GUI:

  • When clicking enter on an item in the project tree, the focus remains on the tree and don't switch to the editor like it does when you double click. It makes it easier to flip through files and look at them by pressing enter repeatedly.
  • For some fonts (especially Ubuntu) the minimum column width in the tree widgets would be estimated to be too large. It especially ment that the include when exporting flag had a column much wider than it needed to be. This setting is now overridden with the known size of the icon, plus a 6 pixel margin.
  • Added a title icon and document icon to the outline view.
  • Regrouped the options on the Build Novel Project tool a bit. They are now sorted into Titles, Format, Text and File categories, with more consistent labelling.

Source code changes:

  • Renamed a few files with long file names to something a bit shorter, and made the naming of files and classes a bit more consistent. This also reduces the width of the logging output by 10 characters.
  • Replaced the hidden handle columns in the project and outline trees and used setData instead. The columns were originally there for debug purposes, but haven't been needed since the tree view was first designed.

@vkbo vkbo merged commit 3a22863 into master Jun 2, 2020
@vkbo vkbo deleted the tweaks branch June 2, 2020 19:41
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