X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9e70f34262c208b00effec0385946245561a92f7..1feb5443ff11ea45e9f21b1ea9a6f58caf2b6b4f:/wxPython/misc/widgetLayoutTest.cfg diff --git a/wxPython/misc/widgetLayoutTest.cfg b/wxPython/misc/widgetLayoutTest.cfg index f5b42bb320..77fe22a28e 100644 --- a/wxPython/misc/widgetLayoutTest.cfg +++ b/wxPython/misc/widgetLayoutTest.cfg @@ -3,6 +3,7 @@ ['wx', 'Button', '-1, "normal"', ''], ['wx', 'Button', '-1, "with a longer, longer label"', ''], ['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()', ''], @@ -10,12 +11,13 @@ ['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', 'ComboBox', '-1, value="read-only", style=wx.CB_READONLY, choices="read-only 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', 'style=wx.LC_REPORT', 'w.InsertColumn(0, "Col1")\nw.InsertStringItem(0, "Item 0")\nw.InsertStringItem(0, "Item 1")\n#w.SetSizeHints((200,100))'], ['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', 'Notebook', '', 'p = wx.Panel(w)\np.SetMinSize((150,150))\nw.AddPage(p, "test")\n'], ['wx', 'Panel', 'size=(150,150)', ''], ['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()', ''], @@ -50,6 +52,8 @@ ['wx', 'TreeCtrl', '', ''], ['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'], -['wx', 'Button', '-1, "larger font"', 'w.SetFont(wx.Font(20, wx.SWISS, wx.NORMAL, wx.NORMAL))\n##w.SetMinSize(wx.DefaultSize)\n'], +['wx.grid', 'Grid', '', 'w.CreateGrid(5,5)\n'], +['wx.grid', 'Grid', 'size=(400,200)', 'w.CreateGrid(100,50)\n'], ]