widgets>lineedit.svg: fix corners

The top corners of the line edit were previously lenghthened, causing
distortion whenever the lineedit's height changed from that of
the source SVG.

The bottom left corner also had an issue, although it's mostly non visible
GUIwise.
This commit is contained in:
Jan Blackquill 2021-01-27 12:03:25 -05:00
parent 9d0f437335
commit a5aca68269

View File

@ -31,12 +31,12 @@
bordercolor="#666666" bordercolor="#666666"
pagecolor="#eff0f1" pagecolor="#eff0f1"
id="base" id="base"
inkscape:zoom="64" inkscape:zoom="32"
inkscape:cx="114.77344" inkscape:cx="38.140625"
inkscape:cy="7.71875" inkscape:cy="25.125"
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="0" inkscape:window-y="0"
inkscape:current-layer="focus-topright" inkscape:current-layer="focus-bottomleft"
showgrid="true" showgrid="true"
showguides="true" showguides="true"
inkscape:guide-bbox="true" inkscape:guide-bbox="true"
@ -312,15 +312,6 @@
.ColorScheme-ButtonFocus{ .ColorScheme-ButtonFocus{
color:#3daee9; color:#3daee9;
}</style> }</style>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4932"
id="linearGradient3877"
x1="116"
y1="8"
x2="116"
y2="11"
gradientUnits="userSpaceOnUse" />
<linearGradient <linearGradient
inkscape:collect="always" inkscape:collect="always"
xlink:href="#linearGradient4932-7" xlink:href="#linearGradient4932-7"
@ -341,15 +332,6 @@
offset="1" offset="1"
id="stop4936-1" /> id="stop4936-1" />
</linearGradient> </linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4932"
id="linearGradient3877-7"
x1="116"
y1="8"
x2="116"
y2="11"
gradientUnits="userSpaceOnUse" />
<linearGradient <linearGradient
id="linearGradient4932-6"> id="linearGradient4932-6">
<stop <stop
@ -516,29 +498,6 @@
id="path3863" id="path3863"
class="ColorScheme-ViewFocus" class="ColorScheme-ViewFocus"
inkscape:connector-curvature="0" /> inkscape:connector-curvature="0" />
<path
style="fill:url(#linearGradient3877);fill-opacity:1;stroke:none"
d="M 115 8 L 115 9 L 115 11 L 116 11 L 116 9 C 116 8.4477153 115.55228 8 115 8 z "
transform="translate(115,-44)"
id="rect4069" />
<rect
class="ColorScheme-ViewFocus"
transform="scale(-1,1)"
style="opacity:1;fill:currentColor;fill-opacity:1;stroke:none"
id="rect3861"
width="1"
height="2"
x="-232"
y="-35" />
<rect
y="-35"
x="-234"
height="2"
width="2"
id="rect4038"
style="fill:currentColor;fill-opacity:0.4"
transform="scale(-1,1)"
class="ColorScheme-ViewFocus" />
</g> </g>
<rect <rect
style="fill:currentColor;fill-opacity:1;stroke:none;opacity:0.01" style="fill:currentColor;fill-opacity:1;stroke:none;opacity:0.01"
@ -961,11 +920,13 @@
</g> </g>
<g <g
id="focus-right" id="focus-right"
inkscape:label="#g3918"> inkscape:label="#g3918"
transform="matrix(1,0,0,1.1,0,-3.1)"
style="stroke-width:0.953463">
<rect <rect
class="ColorScheme-ViewFocus" class="ColorScheme-ViewFocus"
inkscape:label="#rect4065" inkscape:label="#rect4065"
style="opacity:0.01000001;fill:currentColor;fill-opacity:1;stroke:none" style="opacity:0.01;fill:currentColor;fill-opacity:1;stroke:none;stroke-width:0.909091"
id="rect4065" id="rect4065"
width="1" width="1"
height="20" height="20"
@ -979,13 +940,13 @@
height="20" height="20"
width="1" width="1"
id="rect3865" id="rect3865"
style="opacity:1;fill:currentColor;fill-opacity:1;stroke:none" style="opacity:1;fill:currentColor;fill-opacity:1;stroke:none;stroke-width:0.953463"
inkscape:label="#rect4065" inkscape:label="#rect4065"
class="ColorScheme-ViewFocus" /> class="ColorScheme-ViewFocus" />
<rect <rect
class="ColorScheme-ViewFocus" class="ColorScheme-ViewFocus"
inkscape:label="#rect4065" inkscape:label="#rect4065"
style="fill:currentColor;fill-opacity:0.4" style="fill:currentColor;fill-opacity:0.4;stroke-width:0.953463"
id="rect4040" id="rect4040"
width="2" width="2"
height="20" height="20"
@ -994,13 +955,14 @@
transform="scale(-1,1)" /> transform="scale(-1,1)" />
</g> </g>
<g <g
transform="matrix(-1,0,0,1,150,0)" transform="matrix(-1,0,0,1.1,150,-3.1)"
id="focus-left" id="focus-left"
inkscape:label="#g3918"> inkscape:label="#g3918"
style="stroke-width:0.953463">
<rect <rect
class="ColorScheme-ViewFocus" class="ColorScheme-ViewFocus"
inkscape:label="#rect4065" inkscape:label="#rect4065"
style="opacity:0.01000001;fill:currentColor;fill-opacity:1;stroke:none" style="opacity:0.01;fill:currentColor;fill-opacity:1;stroke:none;stroke-width:0.909091"
id="rect4065-5" id="rect4065-5"
width="1" width="1"
height="20" height="20"
@ -1014,13 +976,13 @@
height="20" height="20"
width="1" width="1"
id="rect3865-0" id="rect3865-0"
style="opacity:1;fill:currentColor;fill-opacity:1;stroke:none" style="opacity:1;fill:currentColor;fill-opacity:1;stroke:none;stroke-width:0.953463"
inkscape:label="#rect4065" inkscape:label="#rect4065"
class="ColorScheme-ViewFocus" /> class="ColorScheme-ViewFocus" />
<rect <rect
class="ColorScheme-ViewFocus" class="ColorScheme-ViewFocus"
inkscape:label="#rect4065" inkscape:label="#rect4065"
style="fill:currentColor;fill-opacity:0.4" style="fill:currentColor;fill-opacity:0.4;stroke-width:0.953463"
id="rect4070" id="rect4070"
width="2" width="2"
height="20" height="20"
@ -1100,20 +1062,6 @@
d="m 116,31 c 0,0.552285 -0.44772,1 -1,1 v 1 c 1.10457,0 2,-0.895431 2,-2 z" d="m 116,31 c 0,0.552285 -0.44772,1 -1,1 v 1 c 1.10457,0 2,-0.895431 2,-2 z"
style="opacity:1;fill:currentColor;fill-opacity:1;stroke:none" style="opacity:1;fill:currentColor;fill-opacity:1;stroke:none"
class="ColorScheme-ViewFocus" /> class="ColorScheme-ViewFocus" />
<path
sodipodi:end="4.712389"
sodipodi:start="3.1415927"
d="m 149,-35 a 1,1 0 0 1 1,-1 l 0,1 z"
sodipodi:ry="1"
sodipodi:rx="1"
sodipodi:cy="-35"
sodipodi:cx="150"
id="path3948-6"
style="opacity:0.01000001;fill:currentColor;fill-opacity:1;stroke:none"
sodipodi:type="arc"
transform="matrix(-1,0,0,-1,265,-4)"
inkscape:label="#path4073"
class="ColorScheme-ViewFocus" />
<path <path
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
style="fill:currentColor;fill-opacity:0.4" style="fill:currentColor;fill-opacity:0.4"
@ -1141,30 +1089,6 @@
transform="translate(115,-44)" transform="translate(115,-44)"
id="path3863-9" id="path3863-9"
class="ColorScheme-ViewFocus" /> class="ColorScheme-ViewFocus" />
<path
inkscape:connector-curvature="0"
style="fill:url(#linearGradient3877-7);fill-opacity:1.0;stroke:none"
d="m 115,8 0,1 0,2 1,0 0,-2 c 0,-0.5522847 -0.44772,-1 -1,-1 z"
transform="translate(115,-44)"
id="rect4069-3" />
<rect
class="ColorScheme-ViewFocus"
transform="scale(-1,1)"
style="opacity:1;fill:currentColor;fill-opacity:1;stroke:none"
id="rect3861-8"
width="1"
height="2"
x="-232"
y="-35" />
<rect
y="-35"
x="-234"
height="2"
width="2"
id="rect4038-0"
style="fill:currentColor;fill-opacity:0.4"
transform="scale(-1,1)"
class="ColorScheme-ViewFocus" />
</g> </g>
<g <g
transform="matrix(-1,0,0,1,265,90)" transform="matrix(-1,0,0,1,265,90)"

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 38 KiB