bar: fix tooltip shadow cutoff, use fewer Layouts

This commit is contained in:
end-4
2025-09-28 14:03:18 +02:00
parent 0ce4260134
commit de6969f561
5 changed files with 39 additions and 27 deletions
@@ -39,10 +39,11 @@ StyledPopup {
spacing: 4
// Date + Time row
RowLayout {
Row {
spacing: 5
MaterialSymbol {
anchors.verticalCenter: parent.verticalCenter
fill: 0
font.weight: Font.Medium
text: "calendar_month"
@@ -50,6 +51,7 @@ StyledPopup {
color: Appearance.colors.colOnSurfaceVariant
}
StyledText {
anchors.verticalCenter: parent.verticalCenter
horizontalAlignment: Text.AlignLeft
color: Appearance.colors.colOnSurfaceVariant
text: `${root.formattedDate}`
@@ -79,26 +81,26 @@ StyledPopup {
}
// Tasks
ColumnLayout {
Column {
spacing: 0
Layout.fillWidth: true
RowLayout {
Row {
spacing: 4
Layout.fillWidth: true
MaterialSymbol {
anchors.verticalCenter: parent.verticalCenter
text: "checklist"
color: Appearance.colors.colOnSurfaceVariant
font.pixelSize: Appearance.font.pixelSize.large
}
StyledText {
anchors.verticalCenter: parent.verticalCenter
text: Translation.tr("To Do:")
color: Appearance.colors.colOnSurfaceVariant
}
}
StyledText {
Layout.fillWidth: true
horizontalAlignment: Text.AlignLeft
wrapMode: Text.Wrap
color: Appearance.colors.colOnSurfaceVariant