On Nov 8, 2010, at 10:56 AM, Jacek Kałucki wrote:

> I need control with wx pycollapsiblepane behaviour.
> I thought that I will be able to achieve such result with Dabo
> dSlidePanelControl control, but I can't expand the panel.
> Here is the code: http://dabo.codepad.org/NdmzLu9q
> Any suggestions, please?
> It almost works if I change panel proportion from 0 to 1, but:
> - initially panel is expanded, even if ExpandContent=False
> - when collapsed, sizer doesn't shrink and empty space remains.

        Some things in wxPython don't have reasonable minimums when added to a 
sizer. This was an issue with wx.Panels, so we added properties to dPanel to 
improve that behavior. I've copied that logic over to dSlidePanelControl, so 
now even with a proportion of 0, the control will have a minimum width and 
height of 100px. 


-- Ed Leafe



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to