[I tend to believe, this list now subject of Mo-Fr 9-5 business
]
Hi wxPythonistas,
although nobody responded, here is the 3rd attempt of a possibly
useful control. The constraint based dynamic resizing issue
isn't fixed, yet. Other dynamic resizing layout mechanics may
also have issues. Besides of this, it already pretty useful...
Now with the missing images. To get a first impression, run:
python wxFrame2.py
I would be very glad to get some comments on this.
Robin: I hope, the appearance of the spin buttons is fixed
under windos. wxSP_HORIZONTAL is ignored under wxGTK...
The problem is: how do I resolve the wxIndividualLayoutConstraints
within my class for the underlying panel? All methods of this
class return void... Any other idea? Do I need to fiddle with
such in the wxSizer case?
Enjoy,
聽聽Hans-Peter
spincombo.py (10.8 KB)
images.py (1.92 KB)
wxFrame2.py (6.22 KB)
You need to attach the utils.py module as well in order for people to run
the example.
I just commented out the import and the utils.strcmp section to get it to
run. The buttons seem a bit big on my Win2K box; I'm using the default
window theme and font sizes. I've attached a screenshot. This may be due to
your sizing issues, the buttons certainly don't look the same as the default
wxSpinButton buttons used in the wxSpinCtrl with a default size.
ka
路路路
-----Original Message-----
From: wxpython-users-admin@lists.wxwindows.org
[mailto:wxpython-users-admin@lists.wxwindows.org]On Behalf Of Hans-Peter
Jansen
Sent: Saturday, March 23, 2002 2:42 PM
To: wxpython-users@lists.wxwindows.org
Subject: [wxPython] 3rd take of SpinCombo composite control
[I tend to believe, this list now subject of Mo-Fr 9-5 business
]
Hi wxPythonistas,
although nobody responded, here is the 3rd attempt of a possibly
useful control. The constraint based dynamic resizing issue
isn't fixed, yet. Other dynamic resizing layout mechanics may
also have issues. Besides of this, it already pretty useful...
Now with the missing images. To get a first impression, run:
python wxFrame2.py
I would be very glad to get some comments on this.
Robin: I hope, the appearance of the spin buttons is fixed
under windos. wxSP_HORIZONTAL is ignored under wxGTK...
The problem is: how do I resolve the wxIndividualLayoutConstraints
within my class for the underlying panel? All methods of this
class return void... Any other idea? Do I need to fiddle with
such in the wxSizer case?
Enjoy,
Hans-Peter
You need to attach the utils.py module as well in order for people to run
the example.
Oops. Missing module attached...
I just commented out the import and the utils.strcmp section to get it to
run. The buttons seem a bit big on my Win2K box; I'm using the default
window theme and font sizes. I've attached a screenshot. This may be due to
your sizing issues, the buttons certainly don't look the same as the
default wxSpinButton buttons used in the wxSpinCtrl with a default size.
You may tweak these values:
SPINBUTH = 20
MODBUTW = 20
MODBUTH = 20
The sizing issue means, that the call to self.panel.SetConstraints() have to
match the SetConstaints calls from wxFrame2.
ka
Thanks for the screenshot, Kevin. Any opinions on functionality?
Cheers,
Hans-Peter
路路路
On Sunday, 24. March 2002 00:12, Kevin Altis wrote:
Forgot to attach the missing module 
Cheers,
聽聽Hans-Peter
utils.py (94 Bytes)