beginner questions

I think that the questions about internal spacing in buttons and sizing of
buttons indicates that you are thinking along lines you should probably
avoid. I'm quite new to wxPython (and wxWindows), but I don't believe
there is a way to diddle the internal spacing in a button (without writing
your own button class!). But you really don't want to do that (think
about what would happen on different screens with different resolutions or
what would happen if you -- or a user via options -- changed the font for
the button).

I know what you want to do, and I sympathize. You want to make your
buttons look nice, crisp, and not take up too much space. I am facing the
same issue. Really, I think the best way to accomplish this and provide a
high-quality and portable appearance is to create an image for each button
and use those images rather than the standard wxButtons. That way you can
ensure that your buttons (images) look really nice, take up just the right
amount of space, and don't change in some wretched way depending on the
environment. Of course, it's a pain to make all those images (and requires
someone with skills that I generally lack!), but I think it's the only way
to get the quality you want.

···

--------------------------------------
Gary H. Merrill
Director and Principal Scientist, New Applications
Data Exploration Sciences
GlaxoSmithKline Inc.
(919) 483-8456

Um, isn't that even worse? Your images aren't going to respect the
user's color prefs on MSWindows. Or their font prefs. Or have the same
size as buttons in other apps.

···

On Thursday 24 April 2003 10:01 am, gary.h.merrill@gsk.com wrote:

I know what you want to do, and I sympathize. You want to make your
buttons look nice, crisp, and not take up too much space. I am
facing the same issue. Really, I think the best way to accomplish
this and provide a high-quality and portable appearance is to create
an image for each button and use those images rather than the
standard wxButtons. That way you can ensure that your buttons
(images) look really nice, take up just the right amount of space,
and don't change in some wretched way depending on the environment.
Of course, it's a pain to make all those images (and requires
someone with skills that I generally lack!), but I think it's the
only way to get the quality you want.

--
Chuck
http://ChuckEsterbrook.com