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.

Reply via email to