aboutsummaryrefslogtreecommitdiff
path: root/components/DatePicker.qml
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-06-10 11:04:39 -0500
committerluigi1111 <luigi1111w@gmail.com>2021-06-10 11:04:39 -0500
commit4850e13895bd02ebee785aa0071624b36678df8d (patch)
tree4632ec72e6321076e108c320f2ed24bfdc545f59 /components/DatePicker.qml
parent950e20d400aae3b51a5dbe204d4497f663817d8b (diff)
parentad38f155bc2ffc86deba44bf0c3ef28e2a51518e (diff)
downloadmonzero-gui-4850e13895bd02ebee785aa0071624b36678df8d.tar.gz
monzero-gui-4850e13895bd02ebee785aa0071624b36678df8d.tar.xz
monzero-gui-4850e13895bd02ebee785aa0071624b36678df8d.zip
Merge pull request #3538
ad38f15 DatePicker: date input with fixed size; longer animation; move up calendar rectangle (rating89us)
Diffstat (limited to 'components/DatePicker.qml')
-rw-r--r--components/DatePicker.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/DatePicker.qml b/components/DatePicker.qml
index 912b1c49..1df7d38a 100644
--- a/components/DatePicker.qml
+++ b/components/DatePicker.qml
@@ -92,8 +92,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
@@ -259,7 +259,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
@@ -268,7 +268,7 @@ Item {
clip: true
Behavior on height {
- NumberAnimation { duration: 100; easing.type: Easing.InQuad }
+ NumberAnimation { duration: 150; easing.type: Easing.InQuad }
}
MouseArea {