simplify clock
This commit is contained in:
parent
c4f0fbc1ee
commit
c754576ca9
1 changed files with 1 additions and 9 deletions
|
|
@ -1,19 +1,11 @@
|
||||||
import Quickshell
|
import Quickshell
|
||||||
import Quickshell.Io
|
|
||||||
import QtQuick
|
|
||||||
import "../../../styled/"
|
import "../../../styled/"
|
||||||
import "../../../config/"
|
import "../../../config/"
|
||||||
|
|
||||||
Item {
|
StyledLabel {
|
||||||
id: root
|
|
||||||
|
|
||||||
implicitWidth: childrenRect.width
|
implicitWidth: childrenRect.width
|
||||||
implicitHeight: Dimensions.clock.height
|
implicitHeight: Dimensions.clock.height
|
||||||
|
|
||||||
StyledLabel {
|
|
||||||
anchors.fill: parent
|
|
||||||
}
|
|
||||||
|
|
||||||
StyledText {
|
StyledText {
|
||||||
id: text
|
id: text
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue