mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-06 05:34:35 +00:00
Can't change the bounds on a BrowserView before calling browserWindow.SetBrowserView #539
Reference in New Issue
Block a user
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 @MopsieX on GitHub (Jul 25, 2020).
Originally assigned to: @GregorBiswanger on GitHub.
Steps to Reproduce:
BrowserView bv = await Electron.WindowManager.CreateBrowserViewAsync();)browserWindow.SetBrowserView(bv))If you set the bounds of the BrowserView before you call SetBrowserView the BrowserView's bounds will be {0,0,0,0}. Once you call SetBrowserView you can then set its bounds.
@GregorBiswanger commented on GitHub (Mar 28, 2023):
🎉🚀 New Electron.NET version 23.6.1 released 🚀🎉
With native Electron 23 and .NET 6 support. Your problem should be fixed here. If you continue to have the problem, please let us know. Please note the correct updating of your API & CLI. Info in the README. Have fun!