background overlay: vertically center clock digits and colon
This commit is contained in:
parent
bf40be76c5
commit
4715ab9bb6
1 changed files with 3 additions and 0 deletions
|
|
@ -39,11 +39,13 @@ PanelWindow {
|
||||||
font.pixelSize: 72
|
font.pixelSize: 72
|
||||||
font.family: M.Theme.fontFamily
|
font.family: M.Theme.fontFamily
|
||||||
font.bold: true
|
font.bold: true
|
||||||
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
}
|
}
|
||||||
Text {
|
Text {
|
||||||
id: colon
|
id: colon
|
||||||
text: ":"
|
text: ":"
|
||||||
font.pixelSize: 72
|
font.pixelSize: 72
|
||||||
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
font.family: M.Theme.fontFamily
|
font.family: M.Theme.fontFamily
|
||||||
font.bold: true
|
font.bold: true
|
||||||
|
|
||||||
|
|
@ -77,6 +79,7 @@ PanelWindow {
|
||||||
text: Qt.formatDateTime(clock.date, "mm")
|
text: Qt.formatDateTime(clock.date, "mm")
|
||||||
color: M.Theme.base05
|
color: M.Theme.base05
|
||||||
opacity: 0.7
|
opacity: 0.7
|
||||||
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
font.pixelSize: 72
|
font.pixelSize: 72
|
||||||
font.family: M.Theme.fontFamily
|
font.family: M.Theme.fontFamily
|
||||||
font.bold: true
|
font.bold: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue