Benjamin Van Ryseghem-2 wrote
Here shrinkWrap will not work since the SpecLayout defines an absolute layout for every widget.
Okay, so there's no way currently to do something like shrinkWrap? It seems that there has to be a mechanism in Spec that provides an easy way to get to lower level Morphic things like this, at least until we flesh out exactly what needs to be supported to cover the use cases. Benjamin Van Ryseghem-2 wrote
Moreover it's a bit weird since you then specify the height of the column :)
#height was going to the row; it was just formatted confusingly Benjamin Van Ryseghem-2 wrote
If you want to tackle (a bit) this problem ,you may use extent: to do something
In other words, when something changes, manually change the extent to match the contents, simulating shrinkWrap? Benjamin Van Ryseghem-2 wrote
Adding different layout would also be a solution, but it will require some work :)
I'm not exactly sure what you mean. Will you say more? ----- Cheers, Sean -- View this message in context: http://forum.world.st/Spec-and-e-g-hResizing-tp4683208p4683425.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.