You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to make my app resolution fixed to 1920x1080 no matter what's the screen resolution, while still keeping the app full screen. To achieve that, I tried the following:
However, this did not work, as ZoomFactor is expecting an int, not a double, unlike the original implementation in Electron.JS where it is indeed a double.
Can this be fixed?
(From a quick look at the source code, it seems as the only change necessary is public int ZoomFactor { get; set; } to public double ZoomFactor { get; set; }, but I'm not entirely sure, so I prefer not posting this as a PR)
The text was updated successfully, but these errors were encountered:
I want to make my app resolution fixed to 1920x1080 no matter what's the screen resolution, while still keeping the app full screen. To achieve that, I tried the following:
However, this did not work, as
ZoomFactor
is expecting an int, not a double, unlike the original implementation in Electron.JS where it is indeed a double.Can this be fixed?
(From a quick look at the source code, it seems as the only change necessary is
public int ZoomFactor { get; set; }
topublic double ZoomFactor { get; set; }
, but I'm not entirely sure, so I prefer not posting this as a PR)The text was updated successfully, but these errors were encountered: