Cannot use float aspect ratios with SetAspectRatio #904

Closed
opened 2026-01-29 16:51:41 +00:00 by claunia · 1 comment
Owner

Originally created by @Et3rnos on GitHub (Jul 31, 2023).

Isn't the SetAspectRatio method in the BrowserWindow class supposed to take a float as the aspect ratio value?

image

Just like electron's API?

image

Originally created by @Et3rnos on GitHub (Jul 31, 2023). Isn't the `SetAspectRatio` method in the `BrowserWindow` class supposed to take a float as the aspect ratio value? ![image](https://github.com/ElectronNET/Electron.NET/assets/57318423/0ee5ab65-c37a-4ba1-b7a3-a039c1e2b177) Just like electron's API? ![image](https://github.com/ElectronNET/Electron.NET/assets/57318423/55d030e1-296d-490b-bd51-aac00a5d7b9b)
claunia added the bug label 2026-01-29 16:51:41 +00:00
Author
Owner

@FlorianRappl commented on GitHub (Nov 1, 2025):

Fixed with the new ElectronNET.Core in 0.1.0.

@FlorianRappl commented on GitHub (Nov 1, 2025): Fixed with the new `ElectronNET.Core` in 0.1.0.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#904