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
1d681621
Commit
1d681621
authored
Oct 18, 2016
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(Chat/Message): use other workaround to force the right message size
parent
3131fa18
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
IncomingMessage.qml
tests/ui/modules/Linphone/Chat/IncomingMessage.qml
+4
-0
Message.qml
tests/ui/modules/Linphone/Chat/Message.qml
+0
-5
OutgoingMessage.qml
tests/ui/modules/Linphone/Chat/OutgoingMessage.qml
+4
-0
No files found.
tests/ui/modules/Linphone/Chat/IncomingMessage.qml
View file @
1d681621
...
...
@@ -19,6 +19,10 @@ RowLayout {
id
:
message
Layout.fillWidth
:
true
// Not a style. Workaround to avoid a 0 width.
Layout.minimumWidth
:
0
backgroundColor
:
'
#BFBFBF
'
}
}
tests/ui/modules/Linphone/Chat/Message.qml
View file @
1d681621
...
...
@@ -40,9 +40,4 @@ Item {
anchors.left
:
rectangle
.
right
}
// In some case the initial `implicitHeight`
// state is incorrect. This line is a workaround that forces
// the `height` attribute.
Component.onCompleted
:
height
=
text
.
contentHeight
+
text
.
padding
*
2
}
tests/ui/modules/Linphone/Chat/OutgoingMessage.qml
View file @
1d681621
...
...
@@ -12,6 +12,10 @@ RowLayout {
id
:
message
Layout.fillWidth
:
true
// Not a style. Workaround to avoid a 0 width.
Layout.minimumWidth
:
20
backgroundColor
:
'
#E4E4E4
'
}
...
...
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