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
A recent patch for Electron makes win.setAspectRatio() work on Windows. This would be very handy to have. The currently used version of Electron is already rather old. Would it be possible to update to the latest version?
Currently I use a js version for a similar task (keep a constant offset of 45 pixels for height with respect to width. I paste it here to document how events can be handled by the ElectronAPI.
Resizing with the edge handles doesn't work properly, but side handles work well. I use it in the camera widget app in Stipple (it's listed under broken but works already quite well.)
To people not familiar with JSON: JSONText is necessary to have the function pasted as function and not as string.
@davidanthoff Perhaps we can paste a use case of event handling in the docs?
The text was updated successfully, but these errors were encountered:
A recent patch for Electron makes win.setAspectRatio() work on Windows. This would be very handy to have. The currently used version of Electron is already rather old. Would it be possible to update to the latest version?
Currently I use a js version for a similar task (keep a constant offset of 45 pixels for height with respect to width. I paste it here to document how events can be handled by the ElectronAPI.
Resizing with the edge handles doesn't work properly, but side handles work well. I use it in the camera widget app in Stipple (it's listed under broken but works already quite well.)
To people not familiar with JSON:
JSONText
is necessary to have the function pasted as function and not as string.@davidanthoff Perhaps we can paste a use case of event handling in the docs?
The text was updated successfully, but these errors were encountered: