Hi all, RealEstateAgent already responds to standardWindowExtent and to set an initial extent should be under the responsibility of the window manager (not the model).
From the World point of view, it's a layout managing related functionality. So, when a window is added to the world, the World should set an initial extent as well as a position to the window. The world layout manager (maybe RealEstateAgent) could cache this information within a dictionary keyed by the model class. The benefit would be that on re-opening, a window size could be retrieved.
I've opened an issue http://code.google.com/p/pharo/issues/detail?id=2111 Cheers Alain Stéphane Ducasse a écrit :
The user interface or the model should define the initialExtent I do not understand why 1 initialExtent makes sense.
We have to define initialExtent to some model.
Stef