Re: [Pharo-project] expanding text morph

2011-08-25 Thread Gary Chambers
w. textMorph contentsWrapped: 'Some text here use #contentsWrapped: to change text' Regards, Gary - Original Message - From: "Tudor Girba" To: "Pharo Development" Sent: Thursday, August 25, 2011 1:15 AM Subject: Re: [Pharo-project] expanding text morph O

Re: [Pharo-project] expanding text morph

2011-08-24 Thread Tudor Girba
builder newColumn: {textMorph}) openInWindow. >>> textMorph contentsWrapped: 'Some text here >>> >>> Get a halo and inspect the text morph >>> then use #contentsWrapped: to change text >>> >>> >>> and see the results! >>&

Re: [Pharo-project] expanding text morph

2011-08-24 Thread Tudor Girba
ding morph has #shrinkWrap constraints then changes > to the (minimum) dimensions of its submorphs will propagate resulting in a > change of size for the surrounding morph. > > Regards, Gary > > - Original Message ----- From: "Tudor Girba" > To: > Sent:

Re: [Pharo-project] expanding text morph

2011-08-24 Thread Gary Chambers
r the surrounding morph. Regards, Gary - Original Message - From: "Tudor Girba" To: Sent: Tuesday, August 23, 2011 1:36 PM Subject: Re: [Pharo-project] expanding text morph Thanks, Gary! And now the next question: If I place this one in a surrounding pane / expander / tab,

Re: [Pharo-project] expanding text morph

2011-08-23 Thread Tudor Girba
o change text > > > and see the results! > > #rigid hResizing also works.' > > > > Have fun! > > Regards, Gary > > - Original Message - From: "Tudor Girba" > To: "Pharo Development" > Sent: Sunday, August 21, 2011

Re: [Pharo-project] expanding text morph

2011-08-22 Thread Gary Chambers
ange text and see the results! #rigid hResizing also works.' Have fun! Regards, Gary - Original Message - From: "Tudor Girba" To: "Pharo Development" Sent: Sunday, August 21, 2011 11:57 PM Subject: [Pharo-project] expanding text morph Hi, I would li

[Pharo-project] expanding text morph

2011-08-21 Thread Tudor Girba
Hi, I would like to create a Text Morph that wraps the text horizontally, and expands the height to fit the text. Thus, this morph would never offer scrolling. How could I do that? Cheers, Doru -- www.tudorgirba.com "There are no old things, there are only old ways of looking at them."