7
7stud
Hi,
I'm trying to allow for a horizontal scrollbar on a textarea, but the
scrollbar won't appear when I enter a long string of text(by leaning
on one character on my keyboard):
import wx
app = wx.App()
win = wx.Frame(None, title="Text Editor", size=(150, 150) )
tb = wx.TextCtrl(win,
pos=(5, 35), size=(100, 100),
style=wx.TE_MULTILINE | wx.HSCROLL)
win.Show()
app.MainLoop()
I'm trying to allow for a horizontal scrollbar on a textarea, but the
scrollbar won't appear when I enter a long string of text(by leaning
on one character on my keyboard):
import wx
app = wx.App()
win = wx.Frame(None, title="Text Editor", size=(150, 150) )
tb = wx.TextCtrl(win,
pos=(5, 35), size=(100, 100),
style=wx.TE_MULTILINE | wx.HSCROLL)
win.Show()
app.MainLoop()