C
C#2y ago
Daltz333

❔ WinUI3: Restoring Window Size on relaunch

In UWP and WinUI2, it would automatically relaunch to the last width/height of the application, but this behavior is different in WinUI3? Is there an easy way of duplicating the existing behavior?
2 Replies
Denis
Denis2y ago
You'd have to hook to the close event, and in it save the current window size. Once the application opens up again, you resize the window
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server