Hello list,
We have an application where we use a styledtextctrl alongside comboboxes, normal textctrls etc. So I would like to have the styledtextctrl to have a border like the textctrl and combobox. I have added a style wx.SIMPLE_BORDER to the styledtextctrl but it does not show the border. Included is a screenshot.
Is there a way to get a border around the styledtextctrl?
I don’t have an answer but I’m wondering if it shows the border in Windows or OS X?
I’m asking because I have a similar issue with a custom control I created and Linux is the only platform that doesn’t show the border. In my case it shows fine under Windows and OS X.
-Haris
···
On Jan 15, 2015, at 6:20 AM, Dick Kniep <dickkniep@gmail.com> wrote:
Hello list,
We have an application where we use a styledtextctrl alongside comboboxes, normal textctrls etc. So I would like to have the styledtextctrl to have a border like the textctrl and combobox. I have ad
ded a style wx.SIMPLE_BORDER to the styledtextctrl but it does not show the border. Included is a screenshot.
Is there a way to get a border around the styledtextctrl?
Thanks in advance
D. Kniep
--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<Schermafdruk van 2015-01-14 17:17:27.png>
We have an application where we use a styledtextctrl alongside comboboxes, normal textctrls etc. So I would like to have the styledtextctrl to have a border like the textctrl and combobox. I have added a style wx.SIMPLE_BORDER to the styledtextctrl but it does not show the border. Included is a screenshot.
Is there a way to get a border around the styledtextctrl?
IIRC wx.BORDER_SIMPLE is meant to follow platform standards for certain types of windows, and it's possible that it may do nothing in some cases. You may try wx.BORDER_THEME instead, although I'm not certain it is fully implemented for wxGTK yet.