[Pharo-dev] Better layout definition in new Nautilus Browser with filter dialog

Juraj Kubelka juraj.kubelka at gmail.com
Sun Nov 24 16:53:45 EST 2013


Thanks Benjamin :-)

Jura

El 24-11-2013, a las 17:47, Benjamin <benjamin.vanryseghem.pharo at gmail.com> escribió:

> I will do that tomorrow :P
> 
> Do not hesitate to bump me if you forget :)
> 
> Ben
> 
> On 24 Nov 2013, at 21:38, Juraj Kubelka <juraj.kubelka at gmail.com> wrote:
> 
>> Hi
>> 
>> I do not know how to do the better layout of input package filter which was integrated to latest Pharo 3.0 image.
>> 
>> It is defined in method PackageTreeNautilusUI>>buildFirstColumn:  (it means package column)
>> And code looks like:
>> 
>> ^ PanelMorph new
>> 		changeProportionalLayout;
>> 		addMorph: self buildPackageSearch                                                      “ <——  this is new filter input dialog"
>> 		fullFrame: ((0 at 0 corner: 1 at 0.1));                                                          “           and his layout definition"
>> 		addMorph: self buildList                                                                          “ <—— this is package list” 
>> 		fullFrame: ((0 at 0.1 corner: 1 at 1) asLayoutFrame bottomOffset: -25);   “           and his layout definition"
>> 		addMorph: buttons                                                                                  “ <—— Hierarchy button"
>> 		fullFrame: ((0 at 1 corner: 1 at 1) asLayoutFrame topOffset: -25);            “            and his layout"
>> 		hResizing: #spaceFill;
>> 		vResizing: #spaceFill;
>> 		yourself.
>> 
>> 
>> So, now filter dialog and package list are flexible and change their height according to window size.
>> I have tried to define input dialog of fixed size (according to font size), but I do not know how. 
>> Any suggestion?
>> 
>> Thanks,
>> Jura
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20131124/6ba294e2/attachment-0002.html>


More information about the Pharo-dev mailing list