Hi
The tableLayout seems really good. Good job. I just have a small problem
When I do the following the rectangleMorph doesn't wrap the buttons it contains. Any idea why?
| row | row _ RectangleMorph new. row layoutPolicy: TableLayout new. row layoutInset: 1@1. row borderWidth: 0. row listDirection: #leftToRight. row hResizing: #spaceFill; vResizing: #shrinkWrap.
row addMorph: (SimpleButtonMorph new target: self; label: 'Quit'; actionSelector: #delete; borderColor: #raised; borderWidth: 2; color: color). row addMorph: (SimpleButtonMorph new target: field; label: 'New game'; actionSelector: #newGame; borderColor: #raised; borderWidth: 2; color: color). row addMorph: (SimpleButtonMorph new target: field; label: 'New game'; actionSelector: #newGame; borderColor: #raised; borderWidth: 2; color: color).
row openInWorld
Dr. Stéphane DUCASSE (ducasse@iam.unibe.ch) http://www.iam.unibe.ch/~ducasse/ "if you knew today was your last day on earth, what would you do different? ... especially if, by doing something different, today might not be your last day on earth" Calvin&Hobbes
squeak-dev@lists.squeakfoundation.org