Tudor Girba wrote:
Hi,
Sorry for not replying earlier. Thanks Nicolai for picking this one up. I missed the initial mail.
The initialExtent does not make sense for presentation, and anyway, you would not want to change an inspector when you are inside a flow. If I understand correctly, Clement would want that when he spawns an inspector window on a new object, to set the window size to something else.
The idea of having a gtInitialWindowExtent is intriguing, but it won't really work. The problem is that an object can have associated presentations in several external packages, so defining the initial extent in one of them might not work for the other ones.
But, I was more thinking of a different mechanism that remembers the size of the inspector every time you change it, and have the next window take that size into account.
I am even considering having this size cached by the class of the object (not sure yet if that makes sense).
As I was reading, I was thinking to myself that remembering last size per class would make a lot of sense. Could there be a button in Preferences to save initialExtents to file, so these carry over to new images? cheers -ben