X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d58faf6a26088d029724469d4cfcdf17dd0ff3e4..ce6878e638ddf4efc75cf89a11e3f2171627b6c7:/wxPython/misc/widgetLayoutTest.cfg diff --git a/wxPython/misc/widgetLayoutTest.cfg b/wxPython/misc/widgetLayoutTest.cfg index a0b4a1df42..d7ede497ad 100644 --- a/wxPython/misc/widgetLayoutTest.cfg +++ b/wxPython/misc/widgetLayoutTest.cfg @@ -1,24 +1,27 @@ [ ['wx', 'BitmapButton', '-1, wx.Bitmap("image.png")', ''], ['wx', 'Button', '-1, "normal"', ''], -['wx', 'Button', '-1, "sized", size=(200,100)', ''], ['wx', 'Button', '-1, "with a longer, longer label"', ''], -['wx.calendar', 'CalendarCtrl', '-1', ''], +['wx', 'Button', '-1, "default"', 'w.SetDefault()'], +['wx', 'Button', '-1, "larger font"', 'w.SetFont(wx.Font(20, wx.SWISS, wx.NORMAL, wx.NORMAL))\n\n\n'], ['wx', 'CheckBox', '-1, "checkbox"', ''], ['wx', 'CheckBox', '-1, "checkbox with longer label"', ''], ['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"', ''], -['wx', 'Gauge', '-1, 100', ''], -['wx', 'Gauge', '-1, 100, style=wx.GA_VERTICAL', ''], +['wx', 'Choice', '-1, size=(50,-1), choices="one two three four five six seven eight".split()', ''], +['wx', 'ComboBox', '-1, value="default", choices="one two three four five six seven eight".split()', ''], +['wx', 'ComboBox', '-1, value="default", size=(75,-1), choices="one two three four five six seven eight".split()', ''], +['wx', 'ComboBox', '-1, value="read-only", style=wx.CB_READONLY, choices="one two three four five six seven eight".split()', ''], +['wx', 'Gauge', '-1, 100', 'w.SetValue(40)'], +['wx', 'Gauge', '-1, 100, style=wx.GA_VERTICAL', 'w.SetValue(60)'], ['wx', 'ListBox', '-1, choices="one two three four five six seven eight".split()', ''], -['wx', 'ListCtrl', '', ''], +['wx', 'ListCtrl', 'style=wx.LC_REPORT, size=(100,100)', 'w.InsertColumn(0, "Col1")\nw.InsertStringItem(0, "Item 0")\nw.InsertStringItem(0, "Item 1")\n#w.SetSizeHints((200,100))'], ['wx', 'Notebook', '', 'p = wx.Panel(w)\np.SetSizeHints((150,150))\nw.AddPage(p, "test")\n'], ['wx', 'Panel', 'size=(150,150)', ''], -['wx', 'RadioBox', '-1, "label", choices="one two three four five six seven eight".split(), majorDimension=2', ''], -['wx', 'RadioBox', '-1, "label", choices="one two three four five six seven eight".split(), style=wx.RA_VERTICAL, majorDimension=2', ''], +['wx', 'RadioBox', '-1, "label", majorDimension=2, choices="one two three four five six seven eight".split()', ''], +['wx', 'RadioBox', '-1, "label", style=wx.RA_VERTICAL, majorDimension=2, choices="one two three four five six seven eight".split()', ''], ['wx', 'RadioBox', '-1, "label", choices="one two three four".split()', ''], -['wx', 'RadioBox', '-1, "label", choices="one two three four".split(), style=wx.RA_VERTICAL', ''], +['wx', 'RadioBox', '-1, "label", style=wx.RA_VERTICAL, choices="one two three four".split()', ''], ['wx', 'RadioButton', '-1, "radio button"', ''], ['wx', 'ScrollBar', '', ''], ['wx', 'ScrollBar', 'style=wx.SB_VERTICAL', ''], @@ -31,18 +34,23 @@ ['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', ''], +['wx.calendar', 'CalendarCtrl', '-1, style=wx.calendar.CAL_SEQUENTIAL_MONTH_SELECTION', ''], +['wx.calendar', 'CalendarCtrl', '-1', 'w.SetFont(wx.Font(12, wx.SWISS, wx.NORMAL, wx.NORMAL))\n'], +['wx.lib.stattext', 'GenStaticText', '-1, "New font"', 'f = wx.Font(18, wx.SWISS, wx.NORMAL, wx.BOLD)\nw.SetFont(f)\n'], ]