GNOME Bugzilla – Bug 707934
Theme doesn't consider the SVG 'viewBox' attribute
Last modified: 2017-06-16 00:07:26 UTC
I'm targeting two screen DPIs for my theme. I'm setting the background image of a GtkCellRendererToggle through the class '.check'. I'm using a SVG for the background-image. I would like the SVG to fit my checkbox, regardless of the screen DPI. If I set the SVG width and height to 26x26, the checkbox looks good in one screen, but looks cutted in the other. If the theme engine could consider the 'viewBox' attribute [1] then the graphic would fit the checkbox in any case. [1] http://www.w3.org/Graphics/SVG/IG/resources/svgprimer.html#SVG_web)