[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] Data mining plugin buttons obscured
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] Data mining plugin buttons obscured |
Date: |
Mon, 03 Aug 2009 00:36:06 +0200 |
> Let's see if we can fix the obscured buttons in the data mining plugin.
> The
> buttons are not properly shown since the panel size is too small.
>
> The file in question is gmDataMiningWidgets.py leads us to
> wxgDataMiningPnl.py
> and wxgDataMiningPnl.wxg
>
> Loading the wxg file in wxglade lets you experiment with sizers and so on.
> Wxglade has a helpful preview feature which lets you see your changes.
>
> Turns out there is a miscalculation of the space needed for the top panel.
> There are a few ways to handle this but none is obvious
>
> 1.) One can set a fixed panel height so it will be large enough to display
> the
> buttons, this will calculate the correct sash position for the splitter
> windows
>
> 2.) One can specify a fixed sash position. This will calculate the panel
> size
> accordingly
>
> 3.) One supposedly can set it to '0' which will give upper and lower panel
> 50%
> - but does not
>
> The underlying issue seems to be that the buttons don't report the correct
> dimensions.
>
> Until someone smart comes along and fixes the problem in an elegant way
That was where my analysis stopped.
> I have
> set the sash position in this case to 150 to make the buttons show up.
I am fine with this solution.
Karsten
--
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser