Button width from theme?



Hi,

When I place buttons in a GtkButtonBox they are padded out to a nice-looking
standard width, but if I simply create a button and add it into some other
background widget they are sized to the unpleasant-looking minimum to hold
the label and icon. So, when I have a single button on its own I can use a
button box with it to get the standard width, but using a button box for
just one button is rather unwieldy and it would be simpler and cleaner to
just use gtk_widget_set_size_request() if I know what that width should be.

So, my question, does the button width come from the theme, and if so is
there a way to read that width?

Ian




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]