wxPython, mac, wx.HSCROLL not working

7stud bbxx789_05ss at yahoo.com
Thu Apr 12 09:56:37 CEST 2007


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()




More information about the Python-list mailing list