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 <[email protected]> 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@0 corner: [email protected]));                               
>                            “           and his layout definition"
>               addMorph: self buildList                                        
>                                   “ <—— this is package list” 
>               fullFrame: (([email protected] corner: 1@1) asLayoutFrame bottomOffset: 
> -25);   “           and his layout definition"
>               addMorph: buttons                                               
>                                    “ <—— Hierarchy button"
>               fullFrame: ((0@1 corner: 1@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

Reply via email to