UnoPLatform Linux set window size programatically #19022
-
The MainPage.xaml file in my application sets a Height of 839 and a Width of 1672 Once the application starts, I can resize the window. This is not what I want How do I configure my system so the main page comes up in a full size window AND/OR how can I change the window size programatically ``<Page
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can use the |
Beta Was this translation helpful? Give feedback.
You can use the
Window.AppWindow.Resize
API to change the size (you can call it in theApp.xaml.cs
OnLaunched
method for example). ThePage
is just an element in the UI so it does not influence its parent window.