Mahou icon indicating copy to clipboard operation
Mahou copied to clipboard

Move uibase to WPF/UWP add support HDPI and UI Scaling

Open Kein opened this issue 5 years ago • 6 comments

It looks real bad, small and blurry. image

If you are dead-set to support XP (WPF fully works starting from Vista, XP SP3 has limited suport) you could implement your own UI scaling then, altho it will be more work.

Kein avatar Jan 02 '21 05:01 Kein

see #232

BladeMight avatar Jan 02 '21 06:01 BladeMight

@Kein Try latest-commit version.

Updating to latest-commit:

  1. On tab "Updates" set update channel to LatestCommit(Beta), and update as usual(check, download update)
  2. On webpage: https://github.com/BladeMight/Mahou/releases/tag/latest-commit there are auto-updated builds. (if you unsure which to use, use Release_x86_x64.zip)

BladeMight avatar Jan 02 '21 20:01 BladeMight

Still winforms, tho :P

Kein avatar Jan 03 '21 06:01 Kein

@Kein Well I use SharpDevelop for GUI development, and I kinda love how small it compared to enormous Visual Studio these days... I could write everything without visual designer(like I did with the Translator window), but also there are much features that explicitly require a native win32 windows, for example hooks, see so, and similar. And using WPF will bring only "visual" improvements, still I'll have to "keep" WinForms and use it together with WPF...

Still winforms, tho :P

But I disabled hidpi scaling(though for someone my way of doing so may not work, and you'll have to change manually hidpi override to "Application" in Mahou.exe properties), and added my own based on your system's zoom level. E.g. if you have 125% Mahou will increase all its window/elements/fonts by 125%.

BladeMight avatar Jan 03 '21 06:01 BladeMight

Have you tried VSCode/VScodium?

Kein avatar Jan 03 '21 10:01 Kein

@Kein Tried, overall very nice code completion and stuff but they don't have XAML designer, and they say that: that are not going to be addressed in the foreseeable future see vscode#issue60406/xwwro

BladeMight avatar Jan 03 '21 19:01 BladeMight