Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-qt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-qt
Commits
d2efaf59
Commit
d2efaf59
authored
2 years ago
by
Franck Laurent
Committed by
Sébastien Blin
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
MessageListView: add border to message bubble when there is a reply
Change-Id: I461a8ecb4ea064b9b22dd1db7a96a71eb8082321
parent
0de8f019
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/commoncomponents/MessageBubble.qml
+11
-0
11 additions, 0 deletions
src/app/commoncomponents/MessageBubble.qml
src/app/commoncomponents/SBSMessageBase.qml
+1
-2
1 addition, 2 deletions
src/app/commoncomponents/SBSMessageBase.qml
with
12 additions
and
2 deletions
src/app/commoncomponents/MessageBubble.qml
+
11
−
0
View file @
d2efaf59
...
...
@@ -27,6 +27,17 @@ Rectangle {
property
bool
out
:
true
property
int
type
:
MsgSeq
.
single
property
bool
isReply
:
false
Rectangle
{
id
:
maskReplyBorder
anchors.fill
:
parent
anchors.margins
:
-
1
radius
:
5
color
:
"
transparent
"
border.color
:
JamiTheme
.
chatviewBgColor
border.width
:
isReply
?
2
:
0
}
Rectangle
{
id
:
mask
visible
:
type
!==
MsgSeq
.
single
&&
!
isReply
...
...
This diff is collapsed.
Click to expand it.
src/app/commoncomponents/SBSMessageBase.qml
+
1
−
2
View file @
d2efaf59
...
...
@@ -176,7 +176,7 @@ Control {
id
:
replyBubble
z
:
-
2
color
:
replyItem
.
isSelf
?
Qt
.
lighter
(
CurrentConversation
.
color
,
1.15
)
:
Qt
.
lighter
(
JamiTheme
.
messageInBgColor
,
1.05
)
color
:
replyItem
.
isSelf
?
CurrentConversation
.
color
:
JamiTheme
.
messageInBgColor
radius
:
msgRadius
Layout.preferredWidth
:
replyToRow
.
width
+
2
*
JamiTheme
.
preferredMarginSize
...
...
@@ -351,7 +351,6 @@ Control {
width
:
Type
===
Interaction
.
Type
.
TEXT
&&
!
isEdited
?
root
.
textContentWidth
:
innerContent
.
childrenRect
.
width
height
:
innerContent
.
childrenRect
.
height
+
(
visible
?
root
.
extraHeight
:
0
)
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment