Is there a way to set the height of the
popped up area of a TreeCtrlComboPopup?
(this is the ComboCtrl in the demo which
pops up a TreeCtrl)
Thank you,
Cm
Is there a way to set the height of the
popped up area of a TreeCtrlComboPopup?
(this is the ComboCtrl in the demo which
pops up a TreeCtrl)
Thank you,
Cm
C M wrote:
C M wrote:
> Is there a way to set the height of the
> popped up area of a TreeCtrlComboPopup?
> (this is the ComboCtrl in the demo which
> pops up a TreeCtrl)Tweak the value returned from GetAdjustedSize.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!Sorry, in my interest to be brief I was too brief. I see the GetAdjustedSize method, but how can I access that from another class? I am using the TreeCtrlComboPopup class in my app, but the main class is a wxFrame. This is a beginner's question, but how can I change TreeCtrlComboPopup so that I can pass it an argument for the popup height such that I can use that in the GetAdjustedSize method?
Add some SetPopupHeight method to the class that takes the size you want used and saves it as an attribute of self, and then use that value in GetAdjustedSize to make the wx.Size to be returned.
On Fri, Feb 29, 2008 at 5:56 PM, Robin Dunn <robin@alldunn.com > <mailto:robin@alldunn.com>> wrote:
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!