Commit 84daf582 authored by Timothée Giet's avatar Timothée Giet
Browse files

fix icon size for preset editor and selector buttons

parent 74348da7
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="32"
height="32"
viewBox="0 0 32 32.000001"
width="22"
height="22"
viewBox="0 0 22 22.000001"
id="svg2"
version="1.1"
inkscape:version="0.92.1 r15371"
sodipodi:docname="dark_paintop_settings_01.svg"
inkscape:export-filename="C:\dribbble\krita icons\Collaborate\1_flat\other\paintop_settings_01.png"
inkscape:export-xdpi="45"
inkscape:export-ydpi="45">
version="1.1">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#474747"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="4"
inkscape:cx="14.82314"
inkscape:cy="25.271648"
inkscape:document-units="px"
inkscape:current-layer="g4192"
showgrid="false"
units="px"
inkscape:showpageshadow="false"
showborder="true"
inkscape:window-width="1884"
inkscape:window-height="1051"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
objecttolerance="20"
showguides="true">
<inkscape:grid
type="xygrid"
id="grid3336"
dotted="false"
empspacing="1"
snapvisiblegridlinesonly="true"
enabled="true"
visible="true"
empcolor="#aaaaff"
empopacity="0.25098039"
color="#7878ff"
opacity="0.1254902"
spacingx="2"
spacingy="2.0000001" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
......@@ -73,8 +26,7 @@
<dc:title>Timothée Giet</dc:title>
</cc:Agent>
</dc:creator>
<dc:date>2015</dc:date>
<dc:description></dc:description>
<dc:date>2021</dc:date>
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
</cc:Work>
......@@ -97,27 +49,23 @@
</metadata>
<g
style="display:inline"
inkscape:label="v2"
id="g4192"
inkscape:groupmode="layer">
transform="translate(0,-10)">
<path
style="display:inline;opacity:0.98999999;fill:#373737;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:1;stroke-opacity:1"
d="M 0 18 L 0 32 L 14 32 L 14 18 L 0 18 z M 8 22 L 10 22 L 10 24 L 8 24 L 8 26 L 8 28 L 4 28 L 4 26 L 4 24 L 6 24 L 8 24 L 8 22 z "
id="path4200" />
style="display:inline;opacity:0.98999999;fill:#373737;fill-opacity:1;stroke:none;stroke-width:1.375;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:1;stroke-opacity:1"
d="M 0,9.9999989 V 19.999999 H 10 V 9.9999989 Z m 6,2.0000001 h 2 v 2 H 6 v 4 H 2 v -4 h 4 z"
id="path4200-9" />
<path
inkscape:connector-curvature="0"
style="display:inline;opacity:0.98999999;fill:#373737;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:1;stroke-opacity:1"
d="m 18,18 0,14 14,0 0,-14 -14,0 z m 8,4 2,0 0,2 -2,0 0,2 0,2 -4,0 0,-2 0,-2 2,0 2,0 0,-2 z"
id="path4200-7" />
style="display:inline;opacity:0.98999999;fill:#373737;fill-opacity:1;stroke:none;stroke-width:1.375;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:1;stroke-opacity:1"
d="M 12,9.9999989 V 19.999999 H 22 V 9.9999989 Z m 6,2.0000001 h 2 v 2 h -2 v 4 h -4 v -4 h 4 z"
id="path4200-9-3" />
<path
inkscape:connector-curvature="0"
style="display:inline;opacity:0.98999999;fill:#373737;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:1;stroke-opacity:1"
d="M 18,-3.3749998e-7 18,14 32,14 32,-3.3749998e-7 l -14,0 z M 26,3.9999997 l 2,0 0,2 -2,0 0,2 0,2 -4,0 0,-2 0,-2 2,0 2,0 0,-2 z"
id="path4200-3" />
style="display:inline;opacity:0.98999999;fill:#373737;fill-opacity:1;stroke:none;stroke-width:1.375;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:1;stroke-opacity:1"
d="M 0,22 V 32 H 10 V 22 Z m 6,2 h 2 v 2 H 6 v 4 H 2 v -4 h 4 z"
id="path4200-9-6" />
<path
inkscape:connector-curvature="0"
style="display:inline;opacity:0.98999999;fill:#373737;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:1;stroke-opacity:1"
d="M 0,-3.3749998e-7 0,14 14,14 14,-3.3749998e-7 l -14,0 z M 8,3.9999997 l 2,0 0,2 -2,0 0,2 0,2 -4,0 0,-2 0,-2 2,0 2,0 0,-2 z"
id="path4200-9" />
style="display:inline;opacity:0.98999999;fill:#373737;fill-opacity:1;stroke:none;stroke-width:1.375;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:1;stroke-opacity:1"
d="M 12,22 V 32 H 22 V 22 Z m 6,2 h 2 v 2 h -2 v 4 h -4 v -4 h 4 z"
id="path4200-9-3-7" />
</g>
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="32"
height="32"
viewBox="0 0 32 32.000001"
width="22"
height="22"
viewBox="0 0 22 22.000001"
id="svg2"
version="1.1"
inkscape:version="0.92.1 r15371"
sodipodi:docname="dark_paintop_settings_02.svg"
inkscape:export-filename="C:\dribbble\krita icons\Collaborate\1_flat\other\paintop_settings_02.png"
inkscape:export-xdpi="45"
inkscape:export-ydpi="45">
version="1.1">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#474747"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="5.6568542"
inkscape:cx="-4.4473611"
inkscape:cy="15.57568"
inkscape:document-units="px"
inkscape:current-layer="g4187"
showgrid="false"
units="px"
inkscape:showpageshadow="false"
showborder="true"
inkscape:window-width="1884"
inkscape:window-height="1051"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
objecttolerance="20"
showguides="false">
<inkscape:grid
type="xygrid"
id="grid3336"
dotted="false"
empspacing="1"
snapvisiblegridlinesonly="true"
enabled="true"
visible="true"
empcolor="#aaaaff"
empopacity="0.25098039"
color="#7878ff"
opacity="0.1254902"
spacingx="2"
spacingy="2.0000001" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
......@@ -73,8 +26,7 @@
<dc:title>Timothée Giet</dc:title>
</cc:Agent>
</dc:creator>
<dc:date>2015</dc:date>
<dc:description></dc:description>
<dc:date>2021</dc:date>
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
</cc:Work>
......@@ -95,40 +47,28 @@
</cc:License>
</rdf:RDF>
</metadata>
<g
inkscape:groupmode="layer"
id="g4187"
inkscape:label="v1"
style="display:inline">
<path
style="opacity:1;fill:#373737;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 0,0 0,14 14,0 0,-14 z m 8,4 2,0 0,2 -2,0 0,4 -4,0 0,-4 4,0 z"
id="rect4197"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccccccccc" />
<path
style="opacity:1;fill:#373737;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 18,1.9999994 10,0 0,4 -10,0 z"
id="rect4205"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" />
<path
style="opacity:1;fill:#373737;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 18,10 14,0 0,4 -14,0 z"
id="rect4207"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" />
<path
style="display:inline;opacity:1;fill:#373737;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 0,18 24,0 0,4 -24,0 z"
id="rect4205-6"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" />
<path
style="display:inline;opacity:1;fill:#373737;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 0,26 32,0 0,4 -32,0 z"
id="rect4207-3"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" />
</g>
<path
id="rect4197"
d="m 0,-1e-6 v 10 h 10 v -10 z m 6,2.0000001 h 2 v 2 H 6 v 4 H 2 v -4 h 4 z"
style="display:inline;opacity:1;fill:#373737;fill-opacity:1;stroke:none;stroke-width:2.75;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<path
id="rect4205"
d="m 12,1.9999991 h 8 v 2 h -8 z"
style="display:inline;opacity:1;fill:#373737;fill-opacity:1;stroke:none;stroke-width:2.75;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<path
id="rect4207"
d="m 12,5.9999991 h 10 v 2 H 12 Z"
style="display:inline;opacity:1;fill:#373737;fill-opacity:1;stroke:none;stroke-width:2.45967484;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<path
id="rect4205-6-6"
d="m 0,12 h 22 v 2 H 0 Z"
style="display:inline;opacity:1;fill:#373737;fill-opacity:1;stroke:none;stroke-width:2.75;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<path
id="rect4207-3-7"
d="m 0,16 h 22 v 2 H 0 Z"
style="display:inline;opacity:1;fill:#373737;fill-opacity:1;stroke:none;stroke-width:2.75;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<path
id="rect4207-3-3-5"
d="m 0,20 h 22 v 2 H 0 Z"
style="display:inline;opacity:1;fill:#373737;fill-opacity:1;stroke:none;stroke-width:2.75;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="32"
height="32"
viewBox="0 0 32 32.000001"
id="svg2"
version="1.1"
inkscape:version="0.92.1 r15371"
sodipodi:docname="light_paintop_settings_01.svg"
inkscape:export-filename="C:\dribbble\krita icons\Collaborate\1_flat\other\paintop_settings_01.png"
inkscape:export-xdpi="45"
inkscape:export-ydpi="45">
id="svg2"
viewBox="0 0 22 22.000001"
height="22"
width="22">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#474747"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="4"
inkscape:cx="-82.801859"
inkscape:cy="15.396648"
inkscape:document-units="px"
inkscape:current-layer="g4192"
showgrid="false"
units="px"
inkscape:showpageshadow="false"
showborder="true"
inkscape:window-width="1884"
inkscape:window-height="1051"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
objecttolerance="20"
showguides="true">
<inkscape:grid
type="xygrid"
id="grid3336"
dotted="false"
empspacing="1"
snapvisiblegridlinesonly="true"
enabled="true"
visible="true"
empcolor="#aaaaff"
empopacity="0.25098039"
color="#7878ff"
opacity="0.1254902"
spacingx="2"
spacingy="2.0000001" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
......@@ -73,7 +26,7 @@
<dc:title>Timothée Giet</dc:title>
</cc:Agent>
</dc:creator>
<dc:date>2015</dc:date>
<dc:date>2021</dc:date>
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
</cc:Work>
......@@ -95,28 +48,24 @@
</rdf:RDF>
</metadata>
<g
style="display:inline"
inkscape:label="v2"
transform="translate(0,-10)"
id="g4192"
inkscape:groupmode="layer">
style="display:inline">
<path
style="display:inline;opacity:0.98999999;fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:1;stroke-opacity:1"
d="M 0 18 L 0 32 L 14 32 L 14 18 L 0 18 z M 8 22 L 10 22 L 10 24 L 8 24 L 8 26 L 8 28 L 4 28 L 4 26 L 4 24 L 6 24 L 8 24 L 8 22 z "
id="path4200" />
id="path4200-9"
d="M 0,9.9999989 V 19.999999 H 10 V 9.9999989 Z m 6,2.0000001 h 2 v 2 H 6 v 4 H 2 v -4 h 4 z"
style="display:inline;opacity:0.98999999;fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:1.375;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:1;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
style="display:inline;opacity:0.98999999;fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:1;stroke-opacity:1"
d="m 18,18 0,14 14,0 0,-14 -14,0 z m 8,4 2,0 0,2 -2,0 0,2 0,2 -4,0 0,-2 0,-2 2,0 2,0 0,-2 z"
id="path4200-7" />
id="path4200-9-3"
d="M 12,9.9999989 V 19.999999 H 22 V 9.9999989 Z m 6,2.0000001 h 2 v 2 h -2 v 4 h -4 v -4 h 4 z"
style="display:inline;opacity:0.98999999;fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:1.375;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:1;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
style="display:inline;opacity:0.98999999;fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:1;stroke-opacity:1"
d="M 18,-3.3749998e-7 18,14 32,14 32,-3.3749998e-7 l -14,0 z M 26,3.9999997 l 2,0 0,2 -2,0 0,2 0,2 -4,0 0,-2 0,-2 2,0 2,0 0,-2 z"
id="path4200-3" />
id="path4200-9-6"
d="M 0,22 V 32 H 10 V 22 Z m 6,2 h 2 v 2 H 6 v 4 H 2 v -4 h 4 z"
style="display:inline;opacity:0.98999999;fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:1.375;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:1;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
style="display:inline;opacity:0.98999999;fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:1;stroke-opacity:1"
d="M 0,-3.3749998e-7 0,14 14,14 14,-3.3749998e-7 l -14,0 z M 8,3.9999997 l 2,0 0,2 -2,0 0,2 0,2 -4,0 0,-2 0,-2 2,0 2,0 0,-2 z"
id="path4200-9" />
id="path4200-9-3-7"
d="M 12,22 V 32 H 22 V 22 Z m 6,2 h 2 v 2 h -2 v 4 h -4 v -4 h 4 z"
style="display:inline;opacity:0.98999999;fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:1.375;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:1;stroke-opacity:1" />
</g>
</svg>
......@@ -9,12 +9,12 @@
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="32"
height="32"
viewBox="0 0 32 32.000001"
width="22"
height="22"
viewBox="0 0 22 22.000001"
id="svg2"
version="1.1"
inkscape:version="0.92.1 r15371"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
sodipodi:docname="light_paintop_settings_02.svg"
inkscape:export-filename="C:\dribbble\krita icons\Collaborate\1_flat\other\paintop_settings_02.png"
inkscape:export-xdpi="45"
......@@ -28,17 +28,17 @@
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="5.6568542"
inkscape:cx="-84.79237"
inkscape:cy="19.818321"
inkscape:zoom="16"
inkscape:cx="2.7874737"
inkscape:cy="13.455879"
inkscape:document-units="px"
inkscape:current-layer="g4187"
showgrid="false"
showgrid="true"
units="px"
inkscape:showpageshadow="false"
showborder="true"
inkscape:window-width="1884"
inkscape:window-height="1051"
inkscape:window-height="1054"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
......@@ -73,7 +73,7 @@
<dc:title>Timothée Giet</dc:title>
</cc:Agent>
</dc:creator>
<dc:date>2015</dc:date>
<dc:date>2021</dc:date>
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
</cc:Work>
......@@ -98,35 +98,42 @@
inkscape:groupmode="layer"
id="g4187"
inkscape:label="v1"
style="display:inline">
style="display:inline"
transform="translate(0,-10)">
<path
style="opacity:1;fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 0,0 0,14 14,0 0,-14 z m 8,4 2,0 0,2 -2,0 0,4 -4,0 0,-4 4,0 z"
style="opacity:1;fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:2.75;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 0,9.9999989 V 19.999999 H 10 V 9.9999989 Z m 6,2.0000001 h 2 v 2 H 6 v 4 H 2 v -4 h 4 z"
id="rect4197"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccccccccc" />
<path
style="opacity:1;fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 18,1.9999994 10,0 0,4 -10,0 z"
style="opacity:1;fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:2.75;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 12,11.999999 8,0 v 2 l -8,0 z"
id="rect4205"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" />
<path
style="opacity:1;fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 18,10 14,0 0,4 -14,0 z"
style="opacity:1;fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:2.45967484;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 12,15.999999 10,0 v 2 l -10,0 z"
id="rect4207"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" />
<path
style="display:inline;opacity:1;fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 0,18 24,0 0,4 -24,0 z"
id="rect4205-6"
style="display:inline;opacity:1;fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:2.75;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 0,22 h 22 v 2 H 0 Z"
id="rect4205-6-6"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" />
<path
style="display:inline;opacity:1;fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 0,26 32,0 0,4 -32,0 z"
id="rect4207-3"
style="display:inline;opacity:1;fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:2.75;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 0,26 h 22 v 2 H 0 Z"
id="rect4207-3-7"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" />
<path
style="display:inline;opacity:1;fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:2.75;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 0,30 h 22 v 2 H 0 Z"
id="rect4207-3-3-5"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" />
</g>
......
......@@ -12,7 +12,6 @@
#include <QStyleOption>
#include <KoResource.h>
KisIconWidget::KisIconWidget(QWidget *parent, const QString &name)
: KisPopupButton(parent)
{
......@@ -105,11 +104,10 @@ void KisIconWidget::paintEvent(QPaintEvent *event)
}
p.drawImage(QRect(border, border, iconWidth, iconHeight), img);
} else if (!icon().isNull()) {
int border2 = qRound((cw - 16) * 0.5);
QSize size = QSize(16, 16);
QImage image = icon().pixmap(size*devicePixelRatioF()).toImage();
image.setDevicePixelRatio(devicePixelRatioF());
p.drawImage(QRect(border2, border2, 16, 16), image);
QSize size = QSize(22, 22);
int border2 = qRound((cw - size.rwidth()) * 0.5);
QImage image = icon().pixmap(size).toImage();
p.drawImage(QRect(border2, border2, size.rwidth(), size.rheight()), image);
}
p.setClipping(false);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment