Bryce Harrington wrote:
On Tue, Feb 08, 2005 at 11:34:07PM -0500, MenTaLguY wrote:
>I would like to be able to tell you why the icons are the size they are,
>but the icon drawing code we inherited from Sodipodi is scary and nobody
>quite understands it... :P
>I'll CC the devel list in case perhaps the gtkmmification team has made
>any breakthroughs studying and/or rewriting that code.
I don't know if we solved it with the gtkmm code, but the scaling is
different. Actually I'm not super happy with it, because the allowed
toolbar sizes are slightly bigger than what we're used to in Inkscape.
We've not had a chance to investigate why it's doing this though.
I was changing a lot of stuff in the main code, and think I've got a
good handle on why things were happening. Too much was hardcoded,
including our main code asking for icons with absolute pixel sizes that
were hardcoded, thus causing stock items to be scaled.
So... the non-gtkmm'd code is doing things a bit better, but the gtkmm
icon stuff is using some standard approaches that should probably get
Oh, and for the toolbar sizes, just switch between a stock theme and one
of the visibility ones like "Large Print". That will expose all sorts of
interesting things about the UI.