Hypertreelist + FloatspinCtrl

Hello,
  I have a hypertreelist filled with a bunch of floatspinctrls and the
floatspinctrls are displayed overlapping each other. It seems like
the hypertreelist isn't getting the appropriate size from the
floatspinctrl and is displaying it incorrectly. an example image can
be seen here: http://dl.dropbox.com/u/48314044/pic/hypertreelist_floatspin_problem.bmp

Any help would be much appreciated.
  Thanks
  Andrew

Hi,

Hello,
I have a hypertreelist filled with a bunch of floatspinctrls and the
floatspinctrls are displayed overlapping each other. It seems like
the hypertreelist isn't getting the appropriate size from the
floatspinctrl and is displaying it incorrectly. an example image can
be seen here: http://dl.dropbox.com/u/48314044/pic/hypertreelist_floatspin_problem.bmp

Any help would be much appreciated.

- Platform;
- Python version;
- wxPython version;
- Whether you are using AGW from SVN or not;
- Small, self-contained sample app reproducing the problem as per
these guidelines: MakingSampleApps - wxPyWiki ;
- Try and use the style ``TR_HAS_VARIABLE_ROW_HEIGHT`` for your HyperTreeList.

Andrea.

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

···

On 15 February 2012 16:44, andrew wrote:

Hello Andrea,

-Platform: win7 x64

-Python: 2.7.2

-wxPython: wx-2.8.12.1-msw-unicode

-using AGW that came bundled with wxPython

-Example Code is attached.

Thanks

Andrew

hypertree.py (4.45 KB)

···
  • Platform;

  • Python version;

  • wxPython version;

  • Whether you are using AGW from SVN or not;

  • Small, self-contained sample app reproducing the problem as per

these guidelines: http://wiki.wxpython.org/MakingSampleApps ;

  • Try and use the style TR_HAS_VARIABLE_ROW_HEIGHT for your HyperTreeList.

Andrea.

“Imagination Is The Only Weapon In The War Against Reality.”

http://xoomer.alice.it/infinity77/

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

Hi,

Hello Andrea,
-Platform: win7 x64
-Python: 2.7.2
-wxPython: wx-2.8.12.1-msw-unicode
-using AGW that came bundled with wxPython
-Example Code is attached.

I'm on my wife's computer and I can't test your sample right now, but
you really should use the "agwStyle" keyword and not the "style"
keyword in the HyperTreeList constructor. I don't know if it will fix
the problem or not; if it doesn't, I'll take a look at it tomorrow
morning.

Andrea.

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

···

On 16 February 2012 00:15, Andrew Wilson wrote:

That did the trick.

Thanks!

···

On Wed, Feb 15, 2012 at 5:37 PM, Andrea Gavana andrea.gavana@gmail.com wrote:

Hi,

On 16 February 2012 00:15, Andrew Wilson wrote:

Hello Andrea,

-Platform: win7 x64

-Python: 2.7.2

-wxPython: wx-2.8.12.1-msw-unicode

-using AGW that came bundled with wxPython

-Example Code is attached.

I’m on my wife’s computer and I can’t test your sample right now, but

you really should use the “agwStyle” keyword and not the “style”

keyword in the HyperTreeList constructor. I don’t know if it will fix

the problem or not; if it doesn’t, I’ll take a look at it tomorrow

morning.

Andrea.

“Imagination Is The Only Weapon In The War Against Reality.”

http://xoomer.alice.it/infinity77/

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en