I think we can do better :P (with still a workaround) Let me digest my jet lag (just arrived at Santiago) and I will give you a real answer :P
Ben On 02 Jan 2014, at 20:16, Sean P. DeNigris <[email protected]> wrote: > Benjamin Van Ryseghem-2 wrote >> A dirty patch in the meantime would be to specify the policy to the morph >> when built. > > A workaround would be fine for the moment. Were you suggesting a mess ( ;-) > ) like the following? … > > open > > | windowModel paperworkDateWidget labelWidget | > windowModel := self new openWithSpec. > paperworkDateWidget := windowModel window submorphs last firstSubmorph > submorphs seventh firstSubmorph firstSubmorph. > paperworkDateWidget > hResizing: #spaceFill; > changeTableLayout; > listDirection: #rightToLeft. > labelWidget := paperworkDateWidget submorphs second. > labelWidget > hResizing: #shrinkWrap. > labelWidget width: 155. > > > > ----- > Cheers, > Sean > -- > View this message in context: > http://forum.world.st/DateModel-label-width-tp4733674p4733757.html > Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com. >
