clock size relative to text
This commit is contained in:
parent
a5b62b4af8
commit
9aa8084df9
2 changed files with 2 additions and 3 deletions
|
|
@ -28,7 +28,6 @@ Singleton {
|
|||
id: clock
|
||||
|
||||
property int fontSize: 14
|
||||
property int width: 130
|
||||
property int height: 30
|
||||
property int horizontalPadding: 8
|
||||
property int verticalPadding: 6
|
||||
|
|
@ -38,6 +37,7 @@ Singleton {
|
|||
id: workspace
|
||||
|
||||
property int spacing: 5
|
||||
property int iconSize: 18
|
||||
property int width: 30
|
||||
property int height: 30
|
||||
property int verticalPadding: 6
|
||||
|
|
|
|||
|
|
@ -7,12 +7,11 @@ import "../../../config/"
|
|||
Item {
|
||||
id: root
|
||||
|
||||
implicitWidth: Dimensions.clock.width
|
||||
implicitWidth: childrenRect.width
|
||||
implicitHeight: Dimensions.clock.height
|
||||
|
||||
StyledLabel {
|
||||
anchors.fill: parent
|
||||
anchors.centerIn: parent
|
||||
}
|
||||
|
||||
StyledText {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue