Adding different layout would also be a solution, but it will require some work :)
Ben
I see in the old-school layouts that it was possible to use #hResizing:
{#ButtonSpec.
...
#hResizing:. #spaceFill...
but I'm not sure how to do that now. I tried unsuccessfully:
SpecLayout composed
newRow: [ :spec | spec
newColumn: [ :col | col
add: #myLabel;
send: #hResizing: withArguments: { #shrinkWrap } ] width: 50;
add: #myModel ] height: 30;
yourself.
I was thinking maybe #add:withSpec: had something to do with it?
-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Spec-and-e-g-hResizing-tp4683208.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.