diff options
| author | rating89us <45968869+rating89us@users.noreply.github.com> | 2021-06-07 13:39:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-07 13:39:16 +0200 |
| commit | ad38f155bc2ffc86deba44bf0c3ef28e2a51518e (patch) | |
| tree | 5f8a29b597c03610188c5df89f6f27b716c25ddb /components | |
| parent | 2946127ed791ef8dd6dc430b681a14cd5bd2d71e (diff) | |
| download | monzero-gui-ad38f155bc2ffc86deba44bf0c3ef28e2a51518e.tar.gz monzero-gui-ad38f155bc2ffc86deba44bf0c3ef28e2a51518e.tar.xz monzero-gui-ad38f155bc2ffc86deba44bf0c3ef28e2a51518e.zip | |
DatePicker: date input with fixed size; longer animation; move up calendar rectangle
Diffstat (limited to 'components')
| -rw-r--r-- | components/DatePicker.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/DatePicker.qml b/components/DatePicker.qml index 8a79b2e8..180797a8 100644 --- a/components/DatePicker.qml +++ b/components/DatePicker.qml @@ -91,8 +91,8 @@ Item { anchors.left: parent.left anchors.right: parent.right height: parent.height - 1 - anchors.leftMargin: datePicker.expanded ? 1 : 0 - anchors.rightMargin: datePicker.expanded ? 1 : 0 + anchors.leftMargin: 0 + anchors.rightMargin: 0 radius: 4 y: 1 color: datePicker.backgroundColor @@ -257,7 +257,7 @@ Item { id: calendarRect width: head.width x: head.x - y: head.y + head.height + 10 + y: head.y + head.height - 2 color: MoneroComponents.Style.middlePanelBackgroundColor border.width: 1 @@ -266,7 +266,7 @@ Item { clip: true Behavior on height { - NumberAnimation { duration: 100; easing.type: Easing.InQuad } + NumberAnimation { duration: 150; easing.type: Easing.InQuad } } MouseArea { |
