Nov. 24, 2011
3:08 p.m.
Werner Kassens wrote
you could put everything into a panel, put that panel into the standardwindow and use the panels minExtent, which does its layout thing, to set the extent of the standardwindow.
Thanks for the suggestion. I've been looking for #minExtent for about a year!!! I wrote up a little test that did just what you said: guts := SimpleObjectMessagesMorph on: Year. wSize := guts minExtent + 25. StandardWindow new addMorph: guts fullFrame: (LayoutFrame fractions: (0@0 corner: 1@1)); openInWorld; extent: guts minExtent. Sean -- View this message in context: http://forum.world.st/Shrink-Wrapped-Window-tp4102643p4104204.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.