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 18:48:32 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On Sun, Mar 27, 2011 at 06:37:06PM +0200, Hilbert, Sebastian wrote:

> the wxglade code looks like this;
> 
> foo
> bar
> self.SetSizer(__szr_main)
> __szr_main.Fit()
> # end wxGlade

I understand. Editing the wxglade code is out of the
question because that's fragile (breaks at each run of
wxglade code generation) and thus requires error prone
manual maintenance.

> I added SetSizeHints as it will change the widths of the *window* according 
> to 
> the size of the sizer. 

Indeed. I just figured this from the documentation.

However, how can this be useful ?  The window (= the edit
area panel) *already* knows its required minimum 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]