Verified Commit c6b64d02 authored by ivan tkachenko's avatar ivan tkachenko
Browse files

[applet/{analog,digital}-clock] Clean up whitespace

parent f67ee21a
Pipeline #204640 passed with stage
in 8 minutes and 47 seconds
......@@ -69,6 +69,7 @@ Item {
Plasmoid.compactRepresentation: MouseArea {
id: representation
Layout.minimumWidth: Plasmoid.formFactor !== PlasmaCore.Types.Vertical ? representation.height : PlasmaCore.Units.gridUnit
Layout.minimumHeight: Plasmoid.formFactor === PlasmaCore.Types.Vertical ? representation.width : PlasmaCore.Units.gridUnit
......@@ -218,6 +219,7 @@ Item {
}
}
}
Plasmoid.fullRepresentation: PlasmaCalendar.MonthView {
readonly property var appletInterface: Plasmoid.self
......@@ -228,5 +230,4 @@ Item {
today: dataSource.data["Local"]["DateTime"]
}
}
......@@ -127,7 +127,7 @@ MouseArea {
target: contentItem
height: timeLabel.height + (main.showDate || timezoneLabel.visible ? 0.8 * timeLabel.height : 0)
width: Math.max(timeLabel.paintedWidth + (main.showDate ? timezoneLabel.paintedWidth : 0),
width: Math.max(timeLabel.paintedWidth + (main.showDate ? timezoneLabel.paintedWidth : 0),
timezoneLabel.paintedWidth, dateLabel.paintedWidth) + PlasmaCore.Units.smallSpacing * 2
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment