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

Preference window initial height #1604

Closed
HeyMyian opened this issue Nov 13, 2023 · 2 comments · Fixed by #1652
Closed

Preference window initial height #1604

HeyMyian opened this issue Nov 13, 2023 · 2 comments · Fixed by #1652
Labels
next release Note: Features planned for next release usability Issue: Could do with some improvement user interface Component: General user interface

Comments

@HeyMyian
Copy link
Contributor

This is an issue in the German translation and our looooong words, and it will apply to other languages with similarly long words.

In the most crowded preference tab, "Automation", the German translation has too many lines. On the initial window height, lines get cut off funnily. This is easily fixed by the user by manually dragging the window to be a little bit taller, and the setting thereafter is permanent. Similar to #1551, this might be a usability problem, that's why I bring it up.

Upon further thought, the cause is my novelWriter UI font size, which is 13 (default is 11). I never thought this was excessive, tbh. Maybe there is a way to detect the required height of the content to set the window size accordingly, but feel free to discard the issue based on my self-made predicament. I have no idea how applications are handling/supposed to handle things like this.

Here is what the initial window size looks like in English:
Screenshot_2023-11-13_03-37-39

And this is what it looks like in German:
Screenshot_2023-11-13_03-38-17

@HeyMyian HeyMyian added the bug Issue: Something isn't working label Nov 13, 2023
@vkbo vkbo added user interface Component: General user interface usability Issue: Could do with some improvement and removed bug Issue: Something isn't working labels Nov 13, 2023
@vkbo
Copy link
Owner

vkbo commented Nov 13, 2023

The issue here is only window height. Qt will steal space from labels if there is not enough room. The solution is to resize the window. The Preferences dialog should remember its height.

It is very hard to calculate the size before hand. The only real solution is to make the settings areas scrollable.

@vkbo
Copy link
Owner

vkbo commented Jan 8, 2024

I'm working on updating the layout of the Preferences dialog, and I've converted the whole thing into a long, scrollable page with navigation links instead of tabs. This will solve your problem as well as it can use the vertical space it needs since it has a scroll area for the actual settings.

Screencast.from.2024-01-08.18-38-29.mp4

@vkbo vkbo added this to the Release 2.3 Beta 1 milestone Jan 8, 2024
@vkbo vkbo mentioned this issue Jan 13, 2024
6 tasks
@vkbo vkbo linked a pull request Jan 13, 2024 that will close this issue
6 tasks
@vkbo vkbo closed this as completed Jan 13, 2024
@vkbo vkbo added the next release Note: Features planned for next release label Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next release Note: Features planned for next release usability Issue: Could do with some improvement user interface Component: General user interface
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants