Skip to content

Commit 2f57196

Browse files
authored
Merge pull request #767 from ViSovereign/main
(weather-indicator) fix: Capsule uses implicitWidth and implicitHeight
2 parents 4f2a49f + 8ca0575 commit 2f57196

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

weather-indicator/BarWidget.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Item {
2828

2929
Rectangle {
3030
anchors.centerIn: parent
31-
width: parent.width; height: parent.height
31+
width: parent.implicitWidth; height: parent.implicitHeight
3232
color: mouseArea.containsMouse ? Color.mHover : Style.capsuleColor
3333
radius: Style.radiusL
3434
border { color: Style.capsuleBorderColor; width: Style.capsuleBorderWidth }

weather-indicator/manifest.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
{
22
"id": "weather-indicator",
33
"name": "Weather Indicator",
4-
"version": "1.1.6",
4+
"version": "1.1.7",
55
"minNoctaliaVersion": "4.6.8",
66
"author": "Sovereign",
77
"license": "MIT",
88
"repository": "https://github.com/noctalia-dev/noctalia-plugins",
99
"description": "Shows the current weather condition and temperature.",
10-
"tags": [
11-
"Bar"
12-
],
10+
"tags": ["Bar"],
1311
"entryPoints": {
1412
"barWidget": "BarWidget.qml",
1513
"panel": "Panel.qml",

0 commit comments

Comments
 (0)