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
Setting WindowState=FullScreen on my main window anytime before it is first rendered is causing it to never render. If I instead set the WindowState in the Render() override, or anything that happens after that, it works as expected.
I'm running on Windows 10.
The Window is set up with the boilerplate code:
public override void OnFrameworkInitializationCompleted()
{
if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
{
desktop.MainWindow = new MainWindow
{
DataContext = new MainWindowViewModel(),
};
...
The Window starts with a Grid with a few controls, one of which starts some Animations immediately. It also has some resources and styles.
@danwalmsley
Using nightly build 0.9.999-cibuild0007800-beta
The text was updated successfully, but these errors were encountered:
This isssue covers the same problem as #4204 and that one has been closed because the issue is fixed. Having WindowState=FullScreen in XAML works fine on Avalonia 11.0.4 Windows Desktop.
Setting
WindowState=FullScreen
on my main window anytime before it is first rendered is causing it to never render. If I instead set theWindowState
in theRender()
override, or anything that happens after that, it works as expected.I'm running on Windows 10.
The
Window
is set up with the boilerplate code:The
Window
starts with aGrid
with a few controls, one of which starts someAnimations
immediately. It also has some resources and styles.@danwalmsley
Using nightly build 0.9.999-cibuild0007800-beta
The text was updated successfully, but these errors were encountered: