Hi (Alain :)),
I am trying to embed morphs into a MorphTreeMorph, but I cannot seem to be able to control the size. Please take a look at the screenshot in the attachment. On the right hand side I have a tree morph that lists all methods, and when I expand a selector, I see the source code. Now, I would like to have the followings: - the text morph fill the entire horizontal space - the text morph expand on the vertical, too - the label fill the entire horizontal space I tried to: - set the MorphTreeMorph to have lastColumnUnbounded, and - the morph layout to (fullFrame: (LayoutFrame fractions: (0 @ 0 corner: 1 @ 1))) but it did not work. Does anyone have an idea? If you want to take a look at the example, you need Glamour: Gofer new squeaksource: 'Glamour'; package: 'ConfigurationOfGlamour'; load. (Smalltalk at: #ConfigurationOfGlamour) perform: #loadDefault. and then: GLMOtherExamples new expander openOn: Collection withAllSubclasses. Cheers, Doru -- www.tudorgirba.com "What we can governs what we wish." Screen shot 2011-01-06 at 01.16.35.png (67K) Download Attachment |
Hi Doru,
I know it's a problem with morphtreemorph. I will have a look. Chers Alain > Hi (Alain :)), > > I am trying to embed morphs into a MorphTreeMorph, but I cannot seem to be able to control the size. > > Please take a look at the screenshot in the attachment. On the right hand side I have a tree morph that lists all methods, and when I expand a selector, I see the source code. Now, I would like to have the followings: > - the text morph fill the entire horizontal space > - the text morph expand on the vertical, too > - the label fill the entire horizontal space > > I tried to: > - set the MorphTreeMorph to have lastColumnUnbounded, and > - the morph layout to (fullFrame: (LayoutFrame fractions: (0 @ 0 corner: 1 @ 1))) > > but it did not work. > > Does anyone have an idea? > > > If you want to take a look at the example, you need Glamour: > Gofer new > squeaksource: 'Glamour'; > package: 'ConfigurationOfGlamour'; > load. > (Smalltalk at: #ConfigurationOfGlamour) perform: #loadDefault. > > and then: > GLMOtherExamples new expander openOn: Collection withAllSubclasses. > > > Cheers, > Doru > > > > > > > -- > www.tudorgirba.com > > "What we can governs what we wish." > > > |
Thanks, Alain. I would really appreciate your help.
Cheers, Doru On 6 Jan 2011, at 08:14, Alain Plantec wrote: > Hi Doru, > I know it's a problem with morphtreemorph. > I will have a look. > Chers > Alain >> Hi (Alain :)), >> >> I am trying to embed morphs into a MorphTreeMorph, but I cannot seem to be able to control the size. >> >> Please take a look at the screenshot in the attachment. On the right hand side I have a tree morph that lists all methods, and when I expand a selector, I see the source code. Now, I would like to have the followings: >> - the text morph fill the entire horizontal space >> - the text morph expand on the vertical, too >> - the label fill the entire horizontal space >> >> I tried to: >> - set the MorphTreeMorph to have lastColumnUnbounded, and >> - the morph layout to (fullFrame: (LayoutFrame fractions: (0 @ 0 corner: 1 @ 1))) >> >> but it did not work. >> >> Does anyone have an idea? >> >> >> If you want to take a look at the example, you need Glamour: >> Gofer new >> squeaksource: 'Glamour'; >> package: 'ConfigurationOfGlamour'; >> load. >> (Smalltalk at: #ConfigurationOfGlamour) perform: #loadDefault. >> >> and then: >> GLMOtherExamples new expander openOn: Collection withAllSubclasses. >> >> >> Cheers, >> Doru >> >> >> >> >> >> >> -- >> www.tudorgirba.com >> >> "What we can governs what we wish." >> >> >> > > -- www.tudorgirba.com "Don't give to get. Just give." |
Free forum by Nabble | Edit this page |