Unify styling across operating systems#24
Conversation
|
Thanks Andy. Unifying the style across platform does seem sensible, particularly as the default style on Mac is not great. Making the GUI font sizes user configurable is also a good idea. Two questions though:
|
- windows doesn't ship with courier. Both mac and windows have courier new. (It was working before, but qt was automatically changing to courier new on windows anyway)
At least on my computers, Mac seemed to default to 13, and Windows defaulted to 11, therefore preventing me from making a single default size without deviating from one of the platform's default. But it is much simpler to just choose a default like you suggested, and 11 looks good on both systems, so I made the change.
I don't feel strongly about it. custom highlighting has been removed. |
|
Thanks Andy. I've modified the default font sizes slightly and will now merge with the dev branch. |
Unify styling across operating systems
Background
The pyQt UI style for Mac isn't the greatest, it tends to waste a lot of space. Fixes can be made, but it would have side effects for window and linux , or would require adding platform specific code which would be a pain to maintain as the project expands.
The pyQt UI style for windows is pretty good in my opinion, but still varies a good amount depending on what version of Windows you are running. Also, I feel like things get worse each year with usability being sacrificed for aesthetics most of the time.
I propose changing to Qt's "Fusion" style so the interface is the same regardless of which OS you are using. Although it doesn't look as sleek as Windows 10, I think the "Fusion" style is quite user friendly. Improvements/customizations will be easy to make since there will only be one style to maintain.
Changes
gui_settings.pyWindows before (left) and after (right)
Mac before (left) and after (right)

le