Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
5b89a7ec
Commit
5b89a7ec
authored
Sep 26, 2016
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(dialog): use dynamic height for dialog description
parent
dcbf6916
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
DialogDescription.qml
tests/ui/components/dialog/DialogDescription.qml
+3
-1
DialogStyle.qml
tests/ui/style/components/DialogStyle.qml
+1
-2
No files found.
tests/ui/components/dialog/DialogDescription.qml
View file @
5b89a7ec
...
...
@@ -9,7 +9,9 @@ import 'qrc:/ui/style/components'
Item
{
property
alias
text
:
description
.
text
height
:
text
?
DialogStyle
.
description
.
height
:
DialogStyle
.
description
.
minHeight
height
:
(
!
text
&&
DialogStyle
.
description
.
verticalMargin
)
||
undefined
implicitHeight
:
(
text
&&
(
description
.
implicitHeight
+
DialogStyle
.
description
.
verticalMargin
))
||
0
Text
{
id
:
description
...
...
tests/ui/style/components/DialogStyle.qml
View file @
5b89a7ec
...
...
@@ -18,7 +18,6 @@ QtObject {
property
QtObject
description
:
QtObject
{
property
int
fontSize
:
12
property
int
height
:
90
// Height with text.
property
int
minHeight
:
25
// Height without text.
property
int
verticalMargin
:
25
}
}
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