FourWaySplitter Problem

Hi All,
I'm having problem on setting up FourWaySplitter from Advanced
Generic Widgets (a.k.a Andrea Gavana's Widgets?) I can putt all
widgets fine but I cannot setup the ratios. When I set them, it
display one widget occupying the whole space. What is wrong?
Here is how I do it:

self.splitter = fws.FourWaySplitter(self.panel,
style=wx.SP_LIVE_UPDATE)
self.splitter.SetHSplit(7500)
self.splitter.SetVSplit(7500)

with thanks,
Steve

Hi Steve

2009/10/9 evstevemd:

Hi All,
I'm having problem on setting up FourWaySplitter from Advanced
Generic Widgets (a.k.a Andrea Gavana's Widgets?) I can putt all
widgets fine but I cannot setup the ratios. When I set them, it
display one widget occupying the whole space. What is wrong?
Here is how I do it:

self.splitter = fws.FourWaySplitter(self.panel,
style=wx.SP_LIVE_UPDATE)
self.splitter.SetHSplit(7500)
self.splitter.SetVSplit(7500)

It's a bug, thank you for spotting it. I have committed a fix in SVN
right now, please let me know if it works.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

Hi Andrea,
How do I fix my app with your svn update?
Do I have to install whole wxPython or just replace .py file?
How do I access SVN (I have client). I have to fix my Home Machine
installation too.
Thanks for fixing such quick :slight_smile:

···

On Oct 9, 10:28 am, Andrea Gavana <andrea.gav...@gmail.com> wrote:

Hi Steve

2009/10/9 evstevemd:

> Hi All,
> I'm having problem on setting up FourWaySplitter from Advanced
> Generic Widgets (a.k.a Andrea Gavana's Widgets?) I can putt all
> widgets fine but I cannot setup the ratios. When I set them, it
> display one widget occupying the whole space. What is wrong?
> Here is how I do it:

> self.splitter = fws.FourWaySplitter(self.panel,
> style=wx.SP_LIVE_UPDATE)
> self.splitter.SetHSplit(7500)
> self.splitter.SetVSplit(7500)

It's a bug, thank you for spotting it. I have committed a fix in SVN
right now, please let me know if it works.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."http://xoomer.alice.it/infinity77/http://thedoomedcity.blogspot.com/

You just need the one file. I think you can get it from here:

http://svn.wxwidgets.org/svn/wx/wxPython/3rdParty/AGW/agw/

···

On Oct 9, 3:12 am, evstevemd <mwinjili...@gmail.com> wrote:

Hi Andrea,
How do I fix my app with your svn update?
Do I have to install whole wxPython or just replace .py file?
How do I access SVN (I have client). I have to fix my Home Machine
installation too.
Thanks for fixing such quick :slight_smile:

-------------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org

Thanks Mike!
I think this will fix up the problem.

···

On Oct 9, 4:05 pm, Mike Driscoll <kyoso...@gmail.com> wrote:

On Oct 9, 3:12 am, evstevemd <mwinjili...@gmail.com> wrote:

> Hi Andrea,
> How do I fix my app with your svn update?
> Do I have to install whole wxPython or just replace .py file?
> How do I access SVN (I have client). I have to fix my Home Machine
> installation too.
> Thanks for fixing such quick :slight_smile:

You just need the one file. I think you can get it from here:

http://svn.wxwidgets.org/svn/wx/wxPython/3rdParty/AGW/agw/

-------------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org