1. Windows
  2. Remembering Window State


Remembering Window State

Alongside options to configure your window's dimensions, ToDesktop offers an option to restore your windows' last-used sizes and positions between application sessions:

A checkbox for remembering the size and position of a window between restarts

Checking this box will force ToDesktop to track the sizes and coordinate locations of your application's windows. When your application is fully quit and later restarted, ToDesktop will re-open your windows at their last values.


This functionality is only accessible for windows that are specified in the ToDesktop Builder interface. Windows that are created programmatically using @todesktop/client-core are ignored.