use styled
This commit is contained in:
parent
c33b9e2a4c
commit
5e7035efdc
1 changed files with 3 additions and 7 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
import Quickshell
|
import Quickshell
|
||||||
import Quickshell.Io
|
import Quickshell.Io
|
||||||
import QtQuick
|
import QtQuick
|
||||||
|
import "root:styled"
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: clock
|
id: clock
|
||||||
|
|
@ -8,19 +9,14 @@ Item {
|
||||||
implicitWidth: 200
|
implicitWidth: 200
|
||||||
implicitHeight: 30
|
implicitHeight: 30
|
||||||
|
|
||||||
Rectangle {
|
StyledLabel {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
color: "#333"
|
|
||||||
opacity: 0.5
|
|
||||||
radius: 5
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
StyledText {
|
||||||
id: text
|
id: text
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
|
||||||
color: "white"
|
|
||||||
|
|
||||||
Process {
|
Process {
|
||||||
// give the process object an id so we can talk
|
// give the process object an id so we can talk
|
||||||
// about it from the timer
|
// about it from the timer
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue