forked from Shinonome/dots-hyprland
weatherpopup: remove useless layouts
This commit is contained in:
@@ -101,34 +101,15 @@ StyledPopup {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Footer
|
// Footer: last refresh
|
||||||
ColumnLayout {
|
StyledText {
|
||||||
id: footer
|
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
spacing: 2
|
text: Translation.tr("Last refresh: %1").arg(Weather.data.lastRefresh)
|
||||||
|
font {
|
||||||
RowLayout {
|
weight: Font.Medium
|
||||||
Layout.alignment: Qt.AlignHCenter
|
pixelSize: Appearance.font.pixelSize.smaller
|
||||||
spacing: 6
|
|
||||||
|
|
||||||
StyledText {
|
|
||||||
text: "Last Refresh:"
|
|
||||||
font {
|
|
||||||
weight: Font.Medium
|
|
||||||
pixelSize: Appearance.font.pixelSize.smaller
|
|
||||||
}
|
|
||||||
color: Appearance.colors.colOnSurfaceVariant
|
|
||||||
}
|
|
||||||
|
|
||||||
StyledText {
|
|
||||||
text: Weather.data.lastRefresh
|
|
||||||
font {
|
|
||||||
weight: Font.Medium
|
|
||||||
pixelSize: Appearance.font.pixelSize.smaller
|
|
||||||
}
|
|
||||||
color: Appearance.colors.colOnSurfaceVariant
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
color: Appearance.colors.colOnSurfaceVariant
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user