C
C#13mo 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
Denis13mo 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
Accord13mo 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.