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

Resize window to a percentage of monitor size #5922

Open
herrenP opened this issue Mar 14, 2025 · 2 comments
Open

Resize window to a percentage of monitor size #5922

herrenP opened this issue Mar 14, 2025 · 2 comments

Comments

@herrenP
Copy link

herrenP commented Mar 14, 2025

  • [ x ] I have checked that a similar feature request does not already exist.

Is your feature request related to a problem? Please describe.
Whenever I start Scrcpy I get a good fit of the Scrcpy window on my PC monitor. Regardless if the phone was in portrait or landscape mode prior to launching Scrcpy. However, when phone screen rotates the Scrcpy window does not fit properly to the phone screen. I can mitigate this by ALT + W and/or ALT + G and/or ALT + SHIFT + R depending on the case. The latter being the most promising one. However, that shortcut will make the Scrcpy window maybe 25% or so of my 1080p screen's size. I could then use the shortcut for 1:1 pixel size but that makes the window huge.

Describe the solution you'd like
A way to resize the Scrcpy window to roughly 80% of the PC's screen (whichever axis is the largest one - height for portrait and width for landscape). Or maybe a configurable percentage. PotPlayer has a nice functionality for this by using the numbers on the keyboard step through various sizes.

Additional context

  • Google Pixel 6a with Android 15
  • Scrcpy 3.1
  • Window 11
@JackHanner
Copy link

可以使用-m参数来自定义分辨率

@herrenP
Copy link
Author

herrenP commented Mar 19, 2025

可以使用-m参数来自定义分辨率

Yes, but that would be a hassle when I switch monitors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants