I am still having problems with the default grey edge is this area know as a margen. and is there some NoLeftMargin command. all my expermints with the Margins only moved the area areound in the white part of the text box. I am wanting to remove the grey area. this is going to be a no features text editor.
···
----- Original Message ----
From: Walter Igo walterigo@yahoo.com
To: Walter Igo walterigo@yahoo.com
Sent: Monday, July 31, 2006 10:04:56 AM
Subject: Re: Remove Default Grey Edge from StyledTextCtrl frame.
----- Original Message ----
From: Walter Igo walterigo@yahoo.com
To: wxPython Suport list. wxpython-users@lists.wxwidgets.org
Sent: Saturday, July 29, 2006 9:44:05 PM
Subject: Remove Default Grey Edge from StyledTextCtrl frame.
does aneyone know the secret command to remove the Grey edge from left side of this StyledTextCtrl frame. I think it is a default edge designed for line numbers and such.
import wx
import wx.stc as stc
class MySTC(stc.StyledTextCtrl):
def init(self, parent, size=wx.DefaultSize,menu=None):
stc.StyledTextCtrl.init(self, parent)
class TestFrame(wx.Frame):
def __init__(self):
global MainEditor
wx.Frame.__init__(self, None, -1, 'Test Program')
MainEditor = MySTC(self)
if name==“main”:
app = wx.App(0)
win = TestFrame()
win.Show(True)
app.MainLoop()