Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Multimedia
Elisa
Commits
579bd584
Commit
579bd584
authored
Aug 23, 2020
by
Shantanu Tushar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Animate layout adjustments so header expansion is smooth
parent
3aec97bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
src/qml/HeaderBar.qml
src/qml/HeaderBar.qml
+14
-0
No files found.
src/qml/HeaderBar.qml
View file @
579bd584
...
...
@@ -167,6 +167,20 @@ FocusScope {
Layout.bottomMargin
:
isMaximized
?
4
*
Kirigami
.
Units
.
largeSpacing
:
0
Layout.maximumWidth
:
contentZone
.
width
-
2
*
((
!
portrait
&&
!
isMaximized
)
?
contentZone
.
width
*
0.15
:
4
*
Kirigami
.
Units
.
largeSpacing
)
Behavior
on
Layout.topMargin
{
NumberAnimation
{
easing.type
:
Easing
.
InOutQuad
duration
:
Kirigami
.
Units
.
shortDuration
}
}
Behavior
on
Layout.leftMargin
{
NumberAnimation
{
easing.type
:
Easing
.
InOutQuad
duration
:
Kirigami
.
Units
.
shortDuration
}
}
Item
{
id
:
images
Layout.alignment
:
Qt
.
AlignVCenter
|
Qt
.
AlignHCenter
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment