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:
parent
a1027ff087
commit
e657b311aa
|
@ -140,6 +140,7 @@ StatusComboBox {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
delegate: StatusBaseText {
|
delegate: StatusBaseText {
|
||||||
text: model.shortName
|
text: model.shortName
|
||||||
|
font.weight: Font.Light
|
||||||
color: Theme.palette.directColor3
|
color: Theme.palette.directColor3
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
@ -153,6 +154,7 @@ StatusComboBox {
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
delegate: StatusBaseText {
|
delegate: StatusBaseText {
|
||||||
text: model.weekNumber
|
text: model.weekNumber
|
||||||
|
font.weight: Font.Light
|
||||||
color: Theme.palette.directColor3
|
color: Theme.palette.directColor3
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
@ -169,6 +171,7 @@ StatusComboBox {
|
||||||
readonly property bool selected: d.selectedDate.getFullYear() === model.year &&
|
readonly property bool selected: d.selectedDate.getFullYear() === model.year &&
|
||||||
d.selectedDate.getMonth() === model.month &&
|
d.selectedDate.getMonth() === model.month &&
|
||||||
d.selectedDate.getDate() === model.day
|
d.selectedDate.getDate() === model.day
|
||||||
|
horizontalPadding: 4
|
||||||
opacity: model.month === grid.month ? 1 : 0.5
|
opacity: model.month === grid.month ? 1 : 0.5
|
||||||
text: model.day
|
text: model.day
|
||||||
textColor: selected ? Theme.palette.primaryColor1 : Theme.palette.directColor1
|
textColor: selected ? Theme.palette.primaryColor1 : Theme.palette.directColor1
|
||||||
|
|
Loading…
Reference in New Issue