mirror of
https://github.com/developersu/ClearClock.git
synced 2025-05-14 19:20:26 +03:00
Fixed minimum sized
This commit is contained in:
parent
3d748944da
commit
2e6786bd8d
1 changed files with 2 additions and 4 deletions
|
@ -45,8 +45,6 @@ PlasmoidItem {
|
||||||
}
|
}
|
||||||
|
|
||||||
fullRepresentation: ColumnLayout {
|
fullRepresentation: ColumnLayout {
|
||||||
width: childrenRect.width + 20
|
|
||||||
height: childrenRect.height + 20
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
spacing: -20
|
spacing: -20
|
||||||
|
|
||||||
|
@ -68,8 +66,8 @@ PlasmoidItem {
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
width: Math.max(textMetricsClockLabel.width, textMetricsDayLabel.width)
|
implicitWidth: Math.max(textMetricsClockLabel.width, textMetricsDayLabel.width)
|
||||||
height: Math.max(textMetricsClockLabel.height, textMetricsDayLabel.height)
|
implicitHeight: Math.max(textMetricsClockLabel.height, textMetricsDayLabel.height)
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
|
Loading…
Reference in a new issue