mirror of
https://github.com/quasar/Quasar.git
synced 2026-04-25 07:15:59 +03:00
[GH-ISSUE #1139] Remote desktop can default to 1:1 ratio #832
Labels
No labels
bug
bug
cant-reproduce
discussion
duplicate
easy
enhancement
help wanted
improvement
invalid
need more info
pull-request
question
wont-add
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Quasar#832
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nil-ref on GitHub (Mar 15, 2023).
Original GitHub issue: https://github.com/quasar/Quasar/issues/1139
Problem description
I hope that when remote desktop starts, the size of the picbox can be adjusted to match the remote resolution.
Proposal
int screenWidth = Screen.PrimaryScreen.Bounds.Width;
int screenHeight = Screen.PrimaryScreen.Bounds.Height;
if(screenWidth > d.Resolution.Width && screenHeight > d.Resolution.Height)
this.ClientSize = new Size(d.Resolution.Width, d.Resolution.Height);
Additional context
No response
@subjoel commented on GitHub (Jun 22, 2023):
yes pls, i have the issue when testing that only a part of their screen is shown
@subjoel commented on GitHub (Jun 22, 2023):
make it a pull request