forked from Shinonome/dots-hyprland
adjust weather widget size
This commit is contained in:
@@ -24,11 +24,11 @@ AbstractBackgroundWidget {
|
|||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
shape: MaterialShape.Shape.Pill
|
shape: MaterialShape.Shape.Pill
|
||||||
color: Appearance.colors.colPrimaryContainer
|
color: Appearance.colors.colPrimaryContainer
|
||||||
implicitSize: 230
|
implicitSize: 200
|
||||||
|
|
||||||
StyledText {
|
StyledText {
|
||||||
font {
|
font {
|
||||||
pixelSize: 84
|
pixelSize: 80
|
||||||
family: Appearance.font.family.expressive
|
family: Appearance.font.family.expressive
|
||||||
weight: Font.Medium
|
weight: Font.Medium
|
||||||
}
|
}
|
||||||
@@ -37,21 +37,21 @@ AbstractBackgroundWidget {
|
|||||||
anchors {
|
anchors {
|
||||||
right: parent.right
|
right: parent.right
|
||||||
top: parent.top
|
top: parent.top
|
||||||
rightMargin: 26
|
rightMargin: 20
|
||||||
topMargin: 30
|
topMargin: 24
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
MaterialSymbol {
|
MaterialSymbol {
|
||||||
iconSize: 84
|
iconSize: 80
|
||||||
color: Appearance.colors.colOnPrimaryContainer
|
color: Appearance.colors.colOnPrimaryContainer
|
||||||
text: Icons.getWeatherIcon(Weather.data.wCode) ?? "cloud"
|
text: Icons.getWeatherIcon(Weather.data.wCode) ?? "cloud"
|
||||||
anchors {
|
anchors {
|
||||||
left: parent.left
|
left: parent.left
|
||||||
bottom: parent.bottom
|
bottom: parent.bottom
|
||||||
|
|
||||||
leftMargin: 26
|
leftMargin: 20
|
||||||
bottomMargin: 30
|
bottomMargin: 24
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user