mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
PR57: Mainly style changes, a few white space stuff and an xrange to range change.
* Phoenix FONTFAMILY, STYLE, WEIGHT Fixes * PENSTYLE_ & BRUSHSTYLE_ Fixes * Fix FONTWEIGHT to FONTSTYLE typo * Phoenix Deprecations: wx.OPEN to wx.FD_OPEN * Phoenix Deprecations: wx.SAVE to wx.FD_SAVE git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -56,7 +56,7 @@ class TestPanel(sp.ScrolledPanel):
|
||||
outsideSizer = wx.BoxSizer(wx.VERTICAL)
|
||||
|
||||
text = wx.StaticText(self, -1, "wx.Timer", style=wx.ALIGN_CENTRE)
|
||||
text.SetFont(wx.Font(24, wx.SWISS, wx.NORMAL, wx.BOLD, False))
|
||||
text.SetFont(wx.Font(24, wx.FONTFAMILY_SWISS, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_BOLD, False))
|
||||
text.SetSize(text.GetBestSize())
|
||||
text.SetForegroundColour(wx.BLUE)
|
||||
outsideSizer.Add(text, 0, wx.EXPAND|wx.ALL, 5)
|
||||
|
||||
Reference in New Issue
Block a user