summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-11-30 22:05:39 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-11-30 22:05:39 +0100
commit51820b2a880ac6d018d0f03675d5aa30d6334bc1 (patch)
treee3bb1e1b10c5f43679f36c642fc68213d4b13a75 /gui
parent1fb9c722ae69febcda5de86c91adf43a04f1de85 (diff)
[ui] tweak signal icon nodes
Diffstat (limited to 'gui')
-rw-r--r--gui/components/Footer.qml14
-rw-r--r--gui/resources/reception-4@24.svg14
2 files changed, 17 insertions, 11 deletions
diff --git a/gui/components/Footer.qml b/gui/components/Footer.qml
index 516d837..0c772ef 100644
--- a/gui/components/Footer.qml
+++ b/gui/components/Footer.qml
@@ -96,12 +96,17 @@ ToolBar {
}
}
+ // TODO refactor with SignalIcon
+ // This signal image renders particularly bad at this size.
+ // https://stackoverflow.com/a/23449205/1157664
Image {
id: gwQuality
- height: 24
- width: 24
- smooth: true
source: "../resources/reception-0@24.svg"
+ width: 24
+ sourceSize.width: 24
+ smooth: false
+ mipmap: true
+ antialiasing: false
anchors {
right: parent.right
verticalCenter: parent.verticalCenter
@@ -109,12 +114,11 @@ ToolBar {
topMargin: 5
rightMargin: 20
}
- // TODO refactor with SignalIcon
ColorOverlay{
anchors.fill: gwQuality
source: gwQuality
color: getSignalColor()
- antialiasing: true
+ antialiasing: false
}
}
}
diff --git a/gui/resources/reception-4@24.svg b/gui/resources/reception-4@24.svg
index caec436..700b71e 100644
--- a/gui/resources/reception-4@24.svg
+++ b/gui/resources/reception-4@24.svg
@@ -24,7 +24,7 @@
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title></dc:title>
+ <dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
@@ -44,14 +44,16 @@
id="namedview6"
showgrid="false"
inkscape:zoom="36.041667"
- inkscape:cx="12"
- inkscape:cy="12"
+ inkscape:cx="15.42659"
+ inkscape:cy="15.840614"
inkscape:window-x="1920"
inkscape:window-y="0"
inkscape:window-maximized="1"
- inkscape:current-layer="svg4" />
+ inkscape:current-layer="svg4"
+ inkscape:document-rotation="0" />
<path
- d="M -2.9802812e-4,17.604914 A 0.80057442,0.80057442 0 0 1 0.80027642,16.80434 H 4.0025741 a 0.80057442,0.80057442 0 0 1 0.8005745,0.800574 v 3.202298 A 0.80057442,0.80057442 0 0 1 4.0025741,21.607786 H 0.80027642 A 0.80057442,0.80057442 0 0 1 -2.9802812e-4,20.807212 Z M 6.4042973,12.801467 a 0.80057442,0.80057442 0 0 1 0.8005745,-0.800574 h 3.2022972 a 0.80057442,0.80057442 0 0 1 0.800574,0.800574 v 8.005745 a 0.80057442,0.80057442 0 0 1 -0.800574,0.800574 H 7.2048718 A 0.80057442,0.80057442 0 0 1 6.4042973,20.807212 Z M 12.808891,7.9980212 a 0.80057442,0.80057442 0 0 1 0.800575,-0.8005745 h 3.202298 a 0.80057442,0.80057442 0 0 1 0.800574,0.8005745 V 20.807212 a 0.80057442,0.80057442 0 0 1 -0.800574,0.800574 h -3.202298 a 0.80057442,0.80057442 0 0 1 -0.800575,-0.800574 z m 6.404596,-4.8034466 a 0.80057442,0.80057442 0 0 1 0.800574,-0.8005744 h 3.202298 a 0.80057442,0.80057442 0 0 1 0.800574,0.8005744 V 20.807212 a 0.80057442,0.80057442 0 0 1 -0.800574,0.800574 h -3.202298 a 0.80057442,0.80057442 0 0 1 -0.800574,-0.800574 z"
+ d="m 0.01944773,20.028572 c 2.3e-7,-0.442145 0.35842955,-0.800574 0.80057444,-0.800574 H 3.2176956 c 0.4421449,0 0.8005745,0.358429 0.8005745,0.800574 v 3.202298 c 0,0.442145 -0.3584296,0.800574 -0.8005745,0.800574 H 0.82002217 c -0.44214489,0 -0.80057421,-0.358429 -0.80057444,-0.800574 z M 6.3130604,15.225125 c 3e-7,-0.442145 0.3584296,-0.800574 0.8005745,-0.800574 h 2.6473842 c 0.4421449,0 0.8005739,0.358429 0.8005739,0.800574 v 8.005745 c 0,0.442145 -0.358429,0.800574 -0.8005739,0.800574 H 7.1136349 c -0.4421449,0 -0.8005745,-0.358429 -0.8005745,-0.800574 z m 6.7375416,-4.803446 c 1e-6,-0.442145 0.35843,-0.8005738 0.800575,-0.8005738 h 2.61964 c 0.442144,0 0.800573,0.3584292 0.800574,0.8005738 V 23.23087 c -1e-6,0.442145 -0.35843,0.800574 -0.800574,0.800574 h -2.61964 c -0.442145,0 -0.800574,-0.358429 -0.800575,-0.800574 z m 6.820781,-4.8034462 c 0,-0.4421449 0.358429,-0.8005744 0.800574,-0.8005744 h 2.564148 c 0.442145,0 0.800574,0.3584295 0.800574,0.8005744 V 23.23087 c 0,0.442145 -0.358429,0.800574 -0.800574,0.800574 h -2.564148 c -0.442145,0 -0.800574,-0.358429 -0.800574,-0.800574 z"
id="path2"
- style="stroke-width:1.60115" />
+ style="stroke-width:1.60115"
+ sodipodi:nodetypes="ssssssssscsscssssccssccssccsssscsscs" />
</svg>