"Extra" lines in application

Hi, everyone. My application has a TextCtrl with a black background. However,
there are white lines appearing around the TextCtrl - under the menu bar and
at the right side of the TextCtrl. How do I remove those lines? I tried
changing the panel's background color but it didn't work. Thanks in advance.

<http://wxpython-users.1045709.n5.nabble.com/file/n5724126/sample.png>

···

--
View this message in context: http://wxpython-users.1045709.n5.nabble.com/Extra-lines-in-application-tp5724126.html
Sent from the wxPython-users mailing list archive at Nabble.com.

stdq wrote:

Hi, everyone. My application has a TextCtrl with a black background. However,
there are white lines appearing around the TextCtrl - under the menu bar and
at the right side of the TextCtrl. How do I remove those lines? I tried
changing the panel's background color but it didn't work.

All windows have a border by default. What you're seeing is the default
border for a control window.

Try adding wx.NO_BORDER to the style bits when you create the control.

···

--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.

Thanks, I'll give it a try!

···

--
View this message in context: http://wxpython-users.1045709.n5.nabble.com/Extra-lines-in-application-tp5724126p5724134.html
Sent from the wxPython-users mailing list archive at Nabble.com.