QtScrcpy
QtScrcpy copied to clipboard
Unable to resize main window, unreadable text
I'm not sure what in my KDE settings might be causing this (font size?), but I'm fairly certain that a modern UI shouldn't look like this right after installation:
The window is resizable vertically, but it doesn't help - it is NOT resizable horizontally. I can't read the text on buttons.
My environment details:
- OS: Arch Linux
- KDE version: 5.21
- Desktop resolution: 2560x1440p
- I installed QtScrcpy 1.5.0 from AUR: https://aur.archlinux.org/packages/qtscrcpy/
I'm a Chinese Arch user, too.
There's nothing wrong with your settings, just because chinese strings are much shorter than english. after all, most users of qtscrcpy
are chinese users. 🙁
You can modify the source code to set the window size to no longer be fixed.
https://github.com/barry-ran/QtScrcpy/blob/33b0d65b19c23de6c8b6e506b076eda253d5241c/QtScrcpy/dialog.cpp#L129
have a try
I'll fix it
I'm assuming that because the original post is over a year old, it's been fixed. I can't find "setFixedWidth" in dialog.cpp, at least. My issue is very similar, except that all the text is clipped vertically instead of horizontally!
Is there anything else i can tweak in dialog.cpp? Or in the xml file in that same directory? That seems to describe elements of the UI, but i'm not sure of the syntax or where to start.