From e657b311aa897db9236a280b752dc33c03d02e89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tinkl?= Date: Fri, 30 Sep 2022 11:43:42 +0200 Subject: [PATCH] fix: Import tool date picker is somewhat broken Adjust the button padding and font weight after changes to StatusBaseButton Closes #7684 --- ui/StatusQ/src/StatusQ/Components/StatusDatePicker.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/StatusQ/src/StatusQ/Components/StatusDatePicker.qml b/ui/StatusQ/src/StatusQ/Components/StatusDatePicker.qml index b5552eac22..4695fdfc28 100644 --- a/ui/StatusQ/src/StatusQ/Components/StatusDatePicker.qml +++ b/ui/StatusQ/src/StatusQ/Components/StatusDatePicker.qml @@ -140,6 +140,7 @@ StatusComboBox { Layout.fillWidth: true delegate: StatusBaseText { text: model.shortName + font.weight: Font.Light color: Theme.palette.directColor3 horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter @@ -153,6 +154,7 @@ StatusComboBox { Layout.fillHeight: true delegate: StatusBaseText { text: model.weekNumber + font.weight: Font.Light color: Theme.palette.directColor3 horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter @@ -169,6 +171,7 @@ StatusComboBox { readonly property bool selected: d.selectedDate.getFullYear() === model.year && d.selectedDate.getMonth() === model.month && d.selectedDate.getDate() === model.day + horizontalPadding: 4 opacity: model.month === grid.month ? 1 : 0.5 text: model.day textColor: selected ? Theme.palette.primaryColor1 : Theme.palette.directColor1