Some demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -54,7 +54,7 @@ class TestPanel(wx.Panel):
|
|||||||
self._hyper3.Bind(hl.EVT_HYPERLINK_RIGHT, self.OnRightLink)
|
self._hyper3.Bind(hl.EVT_HYPERLINK_RIGHT, self.OnRightLink)
|
||||||
|
|
||||||
self._hyper3.SetLinkCursor(wx.CURSOR_QUESTION_ARROW)
|
self._hyper3.SetLinkCursor(wx.CURSOR_QUESTION_ARROW)
|
||||||
self._hyper3.SetColours("GREEN", "RED", "YELLOW")
|
self._hyper3.SetColours("DARK GREEN", "RED", "NAVY")
|
||||||
self._hyper3.SetUnderlines(False, False, False)
|
self._hyper3.SetUnderlines(False, False, False)
|
||||||
self._hyper3.EnableRollover(True)
|
self._hyper3.EnableRollover(True)
|
||||||
self._hyper3.SetBold(True)
|
self._hyper3.SetBold(True)
|
||||||
|
@@ -36,7 +36,6 @@ class TestPanel(wx.Panel):
|
|||||||
text = StaticText(self, -1, str, (20, 120))
|
text = StaticText(self, -1, str, (20, 120))
|
||||||
font = wx.Font(18, wx.SWISS, wx.NORMAL, wx.NORMAL)
|
font = wx.Font(18, wx.SWISS, wx.NORMAL, wx.NORMAL)
|
||||||
text.SetFont(font)
|
text.SetFont(font)
|
||||||
text.SetSize(text.GetBestSize())
|
|
||||||
|
|
||||||
StaticText(self, -1,
|
StaticText(self, -1,
|
||||||
"Multi-line wx.StaticText\nline 2\nline 3\n\nafter empty line",
|
"Multi-line wx.StaticText\nline 2\nline 3\n\nafter empty line",
|
||||||
|
Reference in New Issue
Block a user