ARTICLE AD BOX
I programmed a secondary window to open when a button is clicked, set a specific size of it in XAML, but when it opens (even when built and run as a final product) the layout of the window is in the center, the size and shape it should be, but the window itself is the size of the original source MainPage it is opened from:
All the window properties are set within XAML:
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="Project.Displays.InfoDisplay" Title="InfoDisplay" MinimumWidthRequest="800" MaximumWidthRequest="800" MinimumHeightRequest="600" MaximumHeightRequest="600" > <Grid> ... </Grid> </ContentPage>it is initiated and opened with a :
private async void OnClickEvent(object sender, EventArgs e) { var infoDisplay= new InfoDisplay(); var loadedWindow = new Window(infoDisplay); App.Current?.OpenWindow(loadedWindow ); }I couldn't find any reason on why it's opening up as a full sized window that can be resized, when I need it to be a specific small window that can't be resized.

