ScrolledWindow and FoldPanelBar - update of scrollbar?

Hello group,

how do i update the vertical scrollbar of the scrolledwindow after i unfolded a foldpanelbar?

TIA

Test_ScrolledWindow.py (4.6 KB)

Try calling
self.Fit()
self.SetupScrolling()

···

On Sunday, January 5, 2014 8:29:19 PM UTC, Torsten wrote:

Hello group,

how do i update the vertical scrollbar of the scrolledwindow after i unfolded a foldpanelbar?

TIA

Thank you for the tip. ScrolledWindow doesn’t have SetupScrolling() . But g**gling it showed me ScrolledPanel.
I tried that with a FoldPanelBar, but although with no luck. Finaly i use CollapsiblePane instead of FoldPanelBar (see attachment).

thanks,

Torsten

uups, here is the attachment

Test_ScrolledPanel.py (4.65 KB)

···

Am Montag, 6. Januar 2014 18:53:33 UTC+1 schrieb Torsten:

Thank you for the tip. ScrolledWindow doesn’t have SetupScrolling() . But g**gling it showed me ScrolledPanel.
I tried that with a FoldPanelBar, but although with no luck. Finaly i use CollapsiblePane instead of FoldPanelBar (see attachment).

thanks,

Torsten

Use ScrolledWindow.SetVirtualSize to update the scrollbars after the
content has changed size.
See http://wiki.wxpython.org/ScrolledWindows, third example.

regards, Anders