Layouting
This commit is contained in:
@@ -202,6 +202,7 @@ Item {
|
|||||||
Text {
|
Text {
|
||||||
id: heroIcon
|
id: heroIcon
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
anchors.verticalCenterOffset: 10
|
||||||
text: root.label || "—"
|
text: root.label || "—"
|
||||||
color: root.bar.foreground
|
color: root.bar.foreground
|
||||||
font.family: root.bar.fontFamily
|
font.family: root.bar.fontFamily
|
||||||
@@ -234,6 +235,7 @@ Item {
|
|||||||
Column {
|
Column {
|
||||||
id: heroRight
|
id: heroRight
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
|
anchors.rightMargin: 20
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
spacing: 12
|
spacing: 12
|
||||||
|
|
||||||
@@ -299,7 +301,7 @@ Item {
|
|||||||
Column {
|
Column {
|
||||||
spacing: 5
|
spacing: 5
|
||||||
Text {
|
Text {
|
||||||
text: "HUMIDITY"
|
text: "HUMID"
|
||||||
color: Qt.darker(root.bar.foreground, 1.5)
|
color: Qt.darker(root.bar.foreground, 1.5)
|
||||||
font.family: root.bar.fontFamily
|
font.family: root.bar.fontFamily
|
||||||
font.pixelSize: 11
|
font.pixelSize: 11
|
||||||
|
|||||||
Reference in New Issue
Block a user