fix: Import tool date picker is somewhat broken

Adjust the button padding and font weight after changes to
StatusBaseButton

Closes #7684
This commit is contained in:
Lukáš Tinkl 2022-09-30 11:43:42 +02:00 committed by Lukáš Tinkl
parent a1027ff087
commit e657b311aa
1 changed files with 3 additions and 0 deletions

View File

@ -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