From 5022eecae091e730639c8c61571dce31b1b33c7d Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 25 Mar 2003 04:10:08 +0000 Subject: [PATCH] demo tweaks git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/wxScrolledPanel.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/wxPython/demo/wxScrolledPanel.py b/wxPython/demo/wxScrolledPanel.py index 079f878dc6..c991cb7558 100644 --- a/wxPython/demo/wxScrolledPanel.py +++ b/wxPython/demo/wxScrolledPanel.py @@ -15,12 +15,14 @@ class TestPanel(wxScrolledPanel): desc = wxStaticText(self, -1, "wxScrolledPanel extends wxScrolledWindow, adding all " "the necessary bits to set up scroll handling for you.\n\n" - "Here are three fixed size examples of its use, and the " - "mail demo panel is also using it." + "Here are three fixed size examples of its use. The " + "demo panel for this sample is also using it -- the \nwxStaticLine" + "below is intentionally made too long so a scrollbar will be" + "activated." ) desc.SetForegroundColour("Blue") vbox.Add(desc, 0, wxALIGN_LEFT|wxALL, 5) - vbox.Add(wxStaticLine(self, -1), 0, wxEXPAND|wxALL, 5) + vbox.Add(wxStaticLine(self, -1, size=(1024,-1)), 0, wxALL, 5) vbox.AddSpacer(20,20) words = text.split()