Cuis-Smalltalk / Cuis-Smalltalk-Dev

Active development of Cuis Smalltalk
MIT License
433 stars 71 forks source link

[feature-req]. Collapse window in the old style, title only. Drawer semantic. #199

Open nmingotti opened 3 years ago

nmingotti commented 3 years ago

As per conversation with Gerald on the mailing list on 23Aug2021 I put here as a memorandum for implementation.

Try to re-implement the old fashioned default collapse for Morphs which entails keeping only their WindowTitle on screen. The title bar must shrinked to fit the title to save space.

The benefit would be for example to be able to have several inspectors open at interesting points of the application heart and several Browsers open at relevant part of the code under development.

The title would make easy to open fast just what one wants.

I call this "drawer semantic" because it is like a Morph it is closed in a drawer and we see only the title of what is in the drawer. Click a drawer release its content. It is just a name, the idea is old as Smalltalk itself, i am just copying ;)

If that is implemented it would also be nice to have a preference variable making it possible to let this be the default behavior for collapse.