summaryrefslogtreecommitdiff
path: root/modules/dashboard/dash
diff options
context:
space:
mode:
Diffstat (limited to 'modules/dashboard/dash')
-rw-r--r--modules/dashboard/dash/Media.qml10
-rw-r--r--modules/dashboard/dash/User.qml15
2 files changed, 5 insertions, 20 deletions
diff --git a/modules/dashboard/dash/Media.qml b/modules/dashboard/dash/Media.qml
index 075844c..777c5e8 100644
--- a/modules/dashboard/dash/Media.qml
+++ b/modules/dashboard/dash/Media.qml
@@ -87,7 +87,7 @@ Item {
}
}
- ClippingRectangle {
+ StyledClippingRect {
id: cover
anchors.top: parent.top
@@ -118,14 +118,6 @@ Item {
sourceSize.width: width
sourceSize.height: height
}
-
- Behavior on color {
- ColorAnimation {
- duration: Appearance.anim.durations.normal
- easing.type: Easing.BezierSpline
- easing.bezierCurve: Appearance.anim.curves.standard
- }
- }
}
StyledText {
diff --git a/modules/dashboard/dash/User.qml b/modules/dashboard/dash/User.qml
index a36536f..46055e9 100644
--- a/modules/dashboard/dash/User.qml
+++ b/modules/dashboard/dash/User.qml
@@ -13,7 +13,7 @@ Row {
padding: Appearance.padding.large
spacing: Appearance.spacing.large
- ClippingRectangle {
+ StyledClippingRect {
implicitWidth: info.implicitHeight
implicitHeight: info.implicitHeight
@@ -32,14 +32,6 @@ Row {
anchors.fill: parent
path: `${Paths.home}/.face`
}
-
- Behavior on color {
- ColorAnimation {
- duration: Appearance.anim.durations.normal
- easing.type: Easing.BezierSpline
- easing.bezierCurve: Appearance.anim.curves.standard
- }
- }
}
Column {
@@ -109,10 +101,11 @@ Row {
})
}
- AnchorText {
+ StyledText {
id: text
- prevAnchor: icon
+ anchors.verticalCenter: icon.verticalCenter
+ anchors.left: icon.right
anchors.leftMargin: icon.anchors.leftMargin
text: `: ${line.text}`
font.pointSize: Appearance.font.size.normal