|
Re: How do I find out the maximum extent that a morph can be set to, withou: msg#00112lang.smalltalk.squeak.beginners
The owner morph (a stickie note title bar) contains 3 submorphs: 1. a SimpleButtonMorph, to trigger collapse/expansion of the stickie note (collapsed = stickie note's editor submorph hidden) 2. a StringMorph: contains a summary -- a contracted copy -- of the stickie note's editor's contents. The length of that summary depends on the maximum amount of horizontal space available to the containing StringMorph. 3. a StringMorph: set to the last modification date of the stickie note. Therein lies my problem: to determine the maximum space that #2 can occupy before provoking a resize of the stickie note, and given that stickie note widths are left to user discretion, i.e., vary. Alex On 28-Nov-07, at 9:19 PM, karl wrote: Alexandre Rousseau wrote:
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Magma tutorial or examples, David Mitchell |
|---|---|
| Next by Date: | How do I find out the maximum extent that a morph can be set to, without this impacting the current extent of its owner morph?, Alexandre Rousseau |
| Previous by Thread: | Re: How do I find out the maximum extent that a morph can be set to, without this impacting the current extent of its owner morph?, karl |
| Next by Thread: | How do I find out the maximum extent that a morph can be set to, without this impacting the current extent of its owner morph?, Alexandre Rousseau |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |