UI.. how many battles lost on this field.. :) I yet to see a framework which would allow to specify layout (in declarative style) in exact way how user wants it to be. The problem is, that users always want something different than framework proposes :) This is the nature of UI. On 24 April 2013 00:36, Sean P. DeNigris <sean@clipperadams.com> wrote:
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.
-- Best regards, Igor Stasenko.