QtScrcpy icon indicating copy to clipboard operation
QtScrcpy copied to clipboard

Unable to resize main window, unreadable text

Open zaroth opened this issue 3 years ago • 4 comments

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:

image

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/

zaroth avatar Mar 10 '21 10:03 zaroth

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.

SkymontVibe avatar Apr 04 '21 00:04 SkymontVibe

https://github.com/barry-ran/QtScrcpy/blob/33b0d65b19c23de6c8b6e506b076eda253d5241c/QtScrcpy/dialog.cpp#L129

have a try

SkymontVibe avatar Apr 04 '21 01:04 SkymontVibe

I'll fix it

barry-ran avatar Jun 28 '21 06:06 barry-ran

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! shot-2022-07-26_10-44-28 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.

iestynapmwg avatar Jul 26 '22 14:07 iestynapmwg