Skip to content
Discussion options

You must be logged in to vote

Hi @phifuh,
Since I'm not familiar with Windows and its zoom setting, I asked Claude about it:


This is a general web/browser topic rather than something NiceGUI-specific. Since NiceGUI renders in a browser (or webview), Windows display scaling (125%, 150%) affects your app the same way it affects any website.

The recommended approach is responsive design:

  • Use relative units (rem, %, fr) instead of fixed pixel values.
  • Leverage Tailwind and Quasar responsive classes — they handle varying viewport sizes and zoom levels gracefully.

Forcing 100% zoom is not recommended (and largely not possible):

  • Browsers intentionally prevent websites from overriding the user's zoom/scaling preference — i…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by phifuh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants