mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-28 18:56:32 +02:00
Merge pull request #3538
ad38f15
DatePicker: date input with fixed size; longer animation; move up calendar rectangle (rating89us)
This commit is contained in:
commit
4850e13895
@ -92,8 +92,8 @@ Item {
|
|||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
height: parent.height - 1
|
height: parent.height - 1
|
||||||
anchors.leftMargin: datePicker.expanded ? 1 : 0
|
anchors.leftMargin: 0
|
||||||
anchors.rightMargin: datePicker.expanded ? 1 : 0
|
anchors.rightMargin: 0
|
||||||
radius: 4
|
radius: 4
|
||||||
y: 1
|
y: 1
|
||||||
color: datePicker.backgroundColor
|
color: datePicker.backgroundColor
|
||||||
@ -259,7 +259,7 @@ Item {
|
|||||||
id: calendarRect
|
id: calendarRect
|
||||||
width: head.width
|
width: head.width
|
||||||
x: head.x
|
x: head.x
|
||||||
y: head.y + head.height + 10
|
y: head.y + head.height - 2
|
||||||
|
|
||||||
color: MoneroComponents.Style.middlePanelBackgroundColor
|
color: MoneroComponents.Style.middlePanelBackgroundColor
|
||||||
border.width: 1
|
border.width: 1
|
||||||
@ -268,7 +268,7 @@ Item {
|
|||||||
clip: true
|
clip: true
|
||||||
|
|
||||||
Behavior on height {
|
Behavior on height {
|
||||||
NumberAnimation { duration: 100; easing.type: Easing.InQuad }
|
NumberAnimation { duration: 150; easing.type: Easing.InQuad }
|
||||||
}
|
}
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
|
Loading…
Reference in New Issue
Block a user