From 8c9126acc1db359eec23df77d1f244a1358d2673 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 10 Jul 2006 17:02:25 +0000 Subject: [PATCH] Adjust control size after Play git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/MediaCtrl.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wxPython/demo/MediaCtrl.py b/wxPython/demo/MediaCtrl.py index 9fd988fc58..51f51ac4b2 100644 --- a/wxPython/demo/MediaCtrl.py +++ b/wxPython/demo/MediaCtrl.py @@ -108,6 +108,8 @@ class TestPanel(wx.Panel): "ERROR", wx.ICON_ERROR | wx.OK) else: + self.mc.SetBestFittingSize() + self.GetSizer().Layout() self.slider.SetRange(0, self.mc.Length()) def OnPause(self, evt): -- 2.45.2