My google-fu has failed to find a solution to this one
But surely it must a common problem, if indeed it is a problem.
Under Windows, how do you get rid of the one-pixel wide border around just a regular wx.Button? Iām trying to draw the button on top of a non-gray background, and itās a bit unsightly.
You can see the same borders in the wx demo, under āCore Window Controls -> Buttonā. Itās hard to see because the buttons are on a white background, but there is a one-pixel gray border around all of them.
And sorry, forgot to post the wx version again. 2.9.4.0.
And a small image is attached to show the border being referred to.
Ā·Ā·Ā·
On Fri, Mar 8, 2013 at 12:43 PM, dhyams dhyams@gmail.com wrote:
My google-fu has failed to find a solution to this one
But surely it must a common problem, if indeed it is a problem.
Under Windows, how do you get rid of the one-pixel wide border around just a regular wx.Button? Iām trying to draw the button on top of a non-gray background, and itās a bit unsightly.
You can see the same borders in the wx demo, under āCore Window Controls ā Buttonā. Itās hard to see because the buttons are on a white background, but there is a one-pixel gray border around all of them.
ā
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/groups/opt_out.
ā
Daniel Hyams
dhyams@gmail.com
The outermost 3 pixels of the button image are drawn by the native
button control. Its color will vary depending on your desktop
theme. If you need a custom look and feel, then youāll need to draw
your own using a panel. See the BitmapButton and GenericButtons
samples in the big wx demo.
Ā·Ā·Ā·
Daniel Hyams wrote:
And sorry, forgot to post the wx version again.
2.9.4.0.
And a small image is attached to show the border being
referred to.
On Fri, Mar 8, 2013 at 12:43 PM, dhyams
dhyams@gmail.com
wrote:
My
google-fu has failed to find a solution to this one
But
surely it must a common problem, if indeed it is a problem.
Under Windows, how do you get rid of the one-pixel wide
border around just a regular wx.Button? Iām trying to
draw the button on top of a non-gray background, and itās
a bit unsightly.
-- Tim Roberts, Providenza & Boekelheide, Inc.
timr@probo.com