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
d0778b4e
Commit
d0778b4e
authored
Oct 24, 2016
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(Chat/OutgoingMessage): fix placement of `valid` icon
parent
38725089
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
19 deletions
+17
-19
IncomingMessage.qml
tests/ui/modules/Linphone/Chat/IncomingMessage.qml
+1
-1
Message.qml
tests/ui/modules/Linphone/Chat/Message.qml
+5
-3
OutgoingMessage.qml
tests/ui/modules/Linphone/Chat/OutgoingMessage.qml
+11
-15
No files found.
tests/ui/modules/Linphone/Chat/IncomingMessage.qml
View file @
d0778b4e
...
...
@@ -21,7 +21,7 @@ RowLayout {
Layout.fillWidth
:
true
// Not a style. Workaround to avoid a 0 width.
Layout.minimumWidth
:
0
Layout.minimumWidth
:
2
0
backgroundColor
:
'
#BFBFBF
'
}
...
...
tests/ui/modules/Linphone/Chat/Message.qml
View file @
d0778b4e
...
...
@@ -25,8 +25,11 @@ Item {
Text
{
id
:
text
anchors.left
:
container
.
left
anchors.right
:
container
.
right
anchors
{
left
:
container
.
left
right
:
container
.
right
}
padding
:
8
text
:
$content
wrapMode
:
Text
.
Wrap
...
...
@@ -37,7 +40,6 @@ Item {
Item
{
id
:
content
anchors.left
:
rectangle
.
right
}
}
tests/ui/modules/Linphone/Chat/OutgoingMessage.qml
View file @
d0778b4e
import
QtQuick
2.7
import
QtQuick
.
Layouts
1.3
import
Common
1.0
import
Linphone
1.0
RowLayout
{
Item
{
implicitHeight
:
message
.
height
spacing
:
10
width
:
parent
.
width
-
16
Message
{
id
:
message
Layout.fillWidth
:
true
// Not a style. Workaround to avoid a 0 width.
Layout.minimumWidth
:
20
anchors
{
left
:
parent
.
left
right
:
parent
.
right
}
backgroundColor
:
'
#E4E4E4
'
}
// TODO: Success and re-send icon.
Icon
{
Layout.alignment
:
Qt
.
AlignTop
Layout.preferredHeight
:
16
Layout.preferredWidth
:
16
icon
:
'
valid
'
// TODO: Success and re-send icon.
Icon
{
iconSize
:
16
icon
:
'
valid
'
}
}
}
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