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

Make UI appearance universal #11

Open
shyamamrith opened this issue Apr 24, 2023 · 3 comments
Open

Make UI appearance universal #11

shyamamrith opened this issue Apr 24, 2023 · 3 comments
Assignees
Labels
UI Improvements or additions to the plugin's UI

Comments

@shyamamrith
Copy link
Collaborator

shyamamrith commented Apr 24, 2023

  • Currently the default UI only looks good on 1080p displays and is not scaleable; i.e. if you drag the corners, the contents does not move. The "high dpi" version is included, and is more scaleable, but also suffers from some distortions. Will need to look into how to use the 'Layouts' feature in Qt Designer to avoid this.
  • Also, some computers render the UI in a different font, meaning that it can be difficult to read. This seems to be common on computers which use Chinese as the default display language. (Make new issue for this)

Might be useful: https://stackoverflow.com/questions/20464814/changing-dpi-scaling-size-of-display-make-qt-applications-font-size-get-rendere

@shyamamrith shyamamrith self-assigned this Apr 24, 2023
@shyamamrith shyamamrith changed the title Make UI scaleable Make UI appearance universal Aug 4, 2023
@shyamamrith
Copy link
Collaborator Author

shyamamrith commented Sep 25, 2023

Scaleable UI mostly added in 0be9008, made default in f036260.
TODO: test on 4k monitor

@shyamamrith
Copy link
Collaborator Author

Fonts moved to dedicated issue #30

@shyamamrith
Copy link
Collaborator Author

Re-opening as the UI still does not display correctly on 4k monitors.

This has been tested on Windows; it is likely the inbuilt display scaling (which is usually very high for 4k resolution) is what causes this distortion. However, a lot of QGIS looks strange in this setup anyway - so may not be totally fixable.

It is worth checking another plugin's UI file for ideas on how to deal with this.

@shyamamrith shyamamrith reopened this Oct 15, 2023
@shyamamrith shyamamrith added the UI Improvements or additions to the plugin's UI label Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UI Improvements or additions to the plugin's UI
Projects
None yet
Development

No branches or pull requests

1 participant