gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] bootstrap database


From: Sebastian Hilbert
Subject: Re: [Gnumed-devel] bootstrap database
Date: Sun, 27 Mar 2011 19:07:11 +0200
User-agent: KMail/1.13.6 (Linux/2.6.37.3-16-desktop; KDE/4.6.0; i686; ; )

Am Sonntag, 27. März 2011, 17:00:14 schrieb Karsten Hilbert:
> On Sun, Mar 27, 2011 at 02:39:31PM +0200, Hilbert, Sebastian wrote:
> > > > adding a
> > > > __main_szr.RecalcSizes()
> > > > 
> > > > actually does return
> > > > 
> > > > 650,525
> > > 
> > > Finally found a way to make it work.
> > > 
> > >   self.SetSizer(__szr_main)
> > >   
> > >         __szr_main.Fit(self)
> > > 
> > > +        __szr_main.SetMinSize((650, 525))
> > > +       __szr_main.RecalcSizes()
> > > +       __szr_main.SetSizeHints(self)
> > > 
> > >         # end wxGlade
> > 
> > Make that
> > 
> >      self.SetSizer(__szr_main)
> >      __szr_main.SetMinSize((660, 525))
> >      __szr_main.SetSizeHints(self)
> >      # end wxGlade
> 
> 1) editing wxGlade code is not an option
>

Understood
 
> 2) does it work with
> 
>               __szr_main.SetMinSize((650, 525))
> 
>   as well ?
>

You mean 650 instead of 660 ?
 
> 3) Are you saying that even with the
> 
>               ea_pnl_szr.SetItemMinSize(new_ea, new_ea_min_size)              
> # tell sizer 
about
> the minimum size of its new item
> 
>   line in gmEditArea.py it does not size properly ?
> 

Yes.

> 4) What happens if you change that line to:
> 
>               ea_pnl_szr.SetMinSize(new_ea_min_size)
> 

No visible difference as in the containing *window* still being too small.

Sebastian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]