gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] bootstrap database


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] bootstrap database
Date: Sun, 27 Mar 2011 17:00:14 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

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

2) does it work with

                __szr_main.SetMinSize((650, 525))

  as well ?

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 ?

4) What happens if you change that line to:

                ea_pnl_szr.SetMinSize(new_ea_min_size)

  ?

Karsten
-- 
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

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