updates
This commit is contained in:
@@ -61,12 +61,21 @@ Rectangle { //workspace
|
||||
id: clockPopup
|
||||
anchorItem: clockRect
|
||||
anchorHovered: clockArea.containsMouse
|
||||
implicitWidth: Math.max(text1.width, text2.width) + (Config.spacing_fun(clockRect.height) * 3)
|
||||
implicitHeight: text1.height*3+(Config.spacing_fun(clockRect.height) * 5)
|
||||
|
||||
spacingValue: Config.spacing_fun(clockRect.height)
|
||||
radiusValue: Config.radius_fun(clockRect.height)
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
spacing: Config.spacing_fun(clockRect.height)
|
||||
spacing: parent.spacing
|
||||
Text {
|
||||
id: text0
|
||||
text: ClockState.shortDate + ClockState.currentTime
|
||||
wrapMode: Text.WordWrap
|
||||
color: Colors.primary
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
font.pixelSize: Config.font_size_tiny(bar.height)
|
||||
font.family: Config.font
|
||||
}
|
||||
|
||||
Text {
|
||||
id: text1
|
||||
text: ClockState.fullDate
|
||||
@@ -77,6 +86,7 @@ Rectangle { //workspace
|
||||
font.family: Config.font
|
||||
}
|
||||
|
||||
|
||||
Text {
|
||||
id: text2
|
||||
text: ClockState.uptime
|
||||
|
||||
Reference in New Issue
Block a user