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
Mike Royal
plasma-angelfish
Commits
d3f34489
Commit
d3f34489
authored
Feb 23, 2019
by
Jonah Brüchert
🌳
Committed by
Simon Schmeißer
Mar 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Completion: Calculate height dynamically
parent
b000bdbb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/contents/ui/Completion.qml
src/contents/ui/Completion.qml
+6
-1
No files found.
src/contents/ui/Completion.qml
View file @
d3f34489
...
...
@@ -35,7 +35,12 @@ ListView {
}
width
:
0.9
*
navigation
.
width
height
:
Kirigami
.
Units
.
gridUnit
*
3
*
count
height
:
{
if
(
Kirigami
.
Units
.
gridUnit
*
3
*
count
>=
parent
.
height
*
0.5
)
return
parent
.
height
*
0.5
else
Kirigami
.
Units
.
gridUnit
*
3
*
count
}
z
:
10
verticalLayoutDirection
:
ListView
.
BottomToTop
...
...
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