From 8d78674593d7d4cc079be446836cd43097de542a Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 15 May 2004 19:25:03 +0000 Subject: [PATCH] Added test for smaller spinctrl git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/misc/widgetLayoutTest.cfg | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/wxPython/misc/widgetLayoutTest.cfg b/wxPython/misc/widgetLayoutTest.cfg index afad8416c2..8fce254f5d 100644 --- a/wxPython/misc/widgetLayoutTest.cfg +++ b/wxPython/misc/widgetLayoutTest.cfg @@ -1,11 +1,10 @@ [ ['wx', 'BitmapButton', '-1, wx.Bitmap("image.png")', ''], -['wx', 'Button', '-1, "normal"', ''], ['wx', 'Button', '-1, "default"', 'w.SetDefault()'], +['wx', 'Button', '-1, "normal"', ''], ['wx', 'Button', '-1, "with a longer, longer label"', ''], -['wx.calendar', 'CalendarCtrl', '-1', ''], -['wx', 'CheckBox', '-1, "checkbox"', ''], ['wx', 'CheckBox', '-1, "checkbox with longer label"', ''], +['wx', 'CheckBox', '-1, "checkbox"', ''], ['wx', 'CheckListBox', '-1, size=(100,-1), choices="one two three four five six seven eight".split()', ''], ['wx', 'Choice', '-1, choices="one two three four five six seven eight".split()', ''], ['wx', 'ComboBox', '-1, choices="one two three four five six seven eight".split(), value="default"', ''], @@ -31,18 +30,20 @@ ['wx', 'SpinButton', 'style=wx.SP_HORIZONTAL', ''], ['wx', 'SpinButton', 'style=wx.SP_VERTICAL', ''], ['wx', 'SpinCtrl', '', ''], +['wx', 'SpinCtrl', 'size=(50, -1)', ''], ['wx', 'StaticBitmap', '-1, wx.Bitmap("image.png")', ''], +['wx', 'StaticBox', '-1, "a longer label"', ''], +['wx', 'StaticBox', '-1, "label"', ''], +['wx', 'StaticBox', '-1, "with a size", size=(100,75)', ''], +['wx', 'StaticLine', '-1, size=(-1,100), style=wx.LI_VERTICAL', ''], +['wx', 'StaticLine', '-1, size=(100,-1), style=wx.LI_HORIZONTAL', ''], +['wx', 'StaticText', '-1, "New font"', 'f = wx.Font(18, wx.SWISS, wx.NORMAL, wx.BOLD)\nw.SetFont(f)\n'], ['wx', 'StaticText', '-1, "normal"', ''], ['wx', 'StaticText', '-1, "normal"', 'w.SetLabel("This is a longer label")'], -['wx', 'StaticText', '-1, "New font"', 'f = wx.Font(18, wx.SWISS, wx.NORMAL, wx.BOLD)\nw.SetFont(f)\n'], ['wx', 'TextCtrl', '-1, "default"', ''], ['wx', 'TextCtrl', '-1, "larger size", size=(200, -1)', ''], ['wx', 'TextCtrl', '-1, "small", size=(30,-1)', ''], ['wx', 'TextCtrl', '-1, "some\\ndefault text\\n", size=(200, -1), style=wx.TE_MULTILINE', 'w.AppendText("Here is some more text\\n")'], ['wx', 'TreeCtrl', '', ''], -['wx', 'StaticBox', '-1, "label"', ''], -['wx', 'StaticBox', '-1, "a longer label"', ''], -['wx', 'StaticBox', '-1, "with a size", size=(100,75)', ''], -['wx', 'StaticLine', '-1, size=(100,-1), style=wx.LI_HORIZONTAL', ''], -['wx', 'StaticLine', '-1, size=(-1,100), style=wx.LI_VERTICAL', ''], +['wx.calendar', 'CalendarCtrl', '-1', ''], ] -- 2.47.2