[Top][All Lists]

[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: Fri, 25 Mar 2011 23:17:17 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Fri, Mar 25, 2011 at 08:54:03PM +0100, Hilbert, Sebastian wrote:

> > > Please have a look at the attached screen shot. You will notice that the
> > > default placement (centering ) of gui for addition of drug (substance) is
> > > such that the menu items on left side are not visible and one has to use
> > > horizontal scroll every time.
> > 
> > Ah, I see. Well, GNUmed does not do much of anything to
> > define the size of dialogs. 
> Yeah but that does not mean it cannot help out here. Maybe some clever use of 
> the wx size hints (if there is such a thing) might make it calculate the 
> needed space. maybe the children do not properly report their size.
> > In this very case, in fact, it
> > even defines a minimum size as a hint to the GUI engine.
> > GNUmed cannot do much about the fact that the widget toolkit
> > decides that scrolling is desirable here.
> >
> It might work by increasing the size hint as a crude hack.
> > > Moreover, the "OK" button at the lower end of gui is out of focus (not
> > > visible and accessible by mouse) as gui is not resizing according to the
> > > display/desktop size.
> > 
> > Exactly. This is the same problem. And, as you say, the
> > reason is that "gui is not resizing according to the
> > display/desktop size".
> > 
> It might get the wrong size hints.

Feel free to play around with the sizes to see whether that
helps any. I can't since I don't see the problem.

> > > This problem also occur with gtklp (printing gui).
> > 
> > Yes, because gtklp uses the same GUI toolkit, namely gtk, which is GNOME.
> > 
> That would indeed make gtk the culprit and one would hope it will be fixed 
> upstream.

Well, yeah, but it could also be "improper" (as in "intended
differently") of libgtk by wxgtk or wxpython (or, gasp,
wxGlade, which is where GNUmed gets most of its wxPython
code from...).

GPG key ID E4071346 @
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

reply via email to

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