Re: [Inkscape-devel] secondary toolbar
On Tue, 2004-01-06 at 04:26, bulia byak wrote:
It would be nice if there was a recursive version of gtk_widget_modify_font(), but as far as I know there isn't. Perhaps we should write a function to do that.
Thanks! I added a recursive sp_set_font_size() to
widgets/swp-utilities.cpp,
works fine for the menu and all spinbuttons.
Actually, if you haven't already done so, maybe you can just call it on the box widget for that part of the toolbar once you've added the widgets?
Tried that. Unfortunately it then only affects the visible menu item ("pt"); all the other items in the menu remain large, unless I cater to each one specifically.
_________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2f...
On Wed, 2004-01-07 at 23:35, bulia byak wrote:
Tried that. Unfortunately it then only affects the visible menu item ("pt"); all the other items in the menu remain large, unless I cater to each one specifically.
Ahh, right.
It's because that one menuitem is reparented to the optionmenu temporarily while it's being shown, and the menu that holds the rest is not a child (properly speaking) of the optionmenu widget.
It's a bit of a nasty hack really. But there it is.
-mental
participants (2)
-
bulia byak
-
MenTaLguY