Fix indicator spacing
This commit is contained in:
@@ -28,7 +28,7 @@ Item {
|
|||||||
readonly property string reportHumidity: reportFields.length > 5 ? String(reportFields[5] || "").trim() : ""
|
readonly property string reportHumidity: reportFields.length > 5 ? String(reportFields[5] || "").trim() : ""
|
||||||
|
|
||||||
visible: label !== ""
|
visible: label !== ""
|
||||||
implicitWidth: button.implicitWidth
|
implicitWidth: button.implicitWidth + 8
|
||||||
implicitHeight: button.implicitHeight
|
implicitHeight: button.implicitHeight
|
||||||
|
|
||||||
function refresh() {
|
function refresh() {
|
||||||
@@ -71,7 +71,10 @@ Item {
|
|||||||
|
|
||||||
Common.WidgetButton {
|
Common.WidgetButton {
|
||||||
id: button
|
id: button
|
||||||
anchors.fill: parent
|
anchors.left: parent.left
|
||||||
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
width: implicitWidth
|
||||||
|
height: implicitHeight
|
||||||
bar: root.bar
|
bar: root.bar
|
||||||
text: root.label
|
text: root.label
|
||||||
active: root.klass === "active"
|
active: root.klass === "active"
|
||||||
|
|||||||
Reference in New Issue
Block a user