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
e74be093
Commit
e74be093
authored
1 year ago
by
Capucine Berthet
Committed by
Sébastien Blin
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
linkMessage: new design
GitLab: #1325 Change-Id: Id9b4e1430575fbf53f0657e94c9a27c5b35e4a93
parent
a4b75861
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/commoncomponents/TextMessageDelegate.qml
+7
-4
7 additions, 4 deletions
src/app/commoncomponents/TextMessageDelegate.qml
with
7 additions
and
4 deletions
src/app/commoncomponents/TextMessageDelegate.qml
+
7
−
4
View file @
e74be093
...
...
@@ -33,7 +33,7 @@ SBSMessageBase {
property
string
colorUrl
:
UtilsAdapter
.
luma
(
bubble
.
color
)
?
JamiTheme
.
chatviewLinkColorLight
:
JamiTheme
.
chatviewLinkColorDark
property
string
colorText
:
UtilsAdapter
.
luma
(
bubble
.
color
)
?
JamiTheme
.
chatviewTextColorLight
:
JamiTheme
.
chatviewTextColorDark
bigMsg
:
textEditId
.
lineCount
>
1
bigMsg
:
(
textEditId
.
lineCount
>
1
)
||
extraContent
.
active
Connections
{
target
:
bubble
...
...
@@ -142,7 +142,7 @@ SBSMessageBase {
anchors.right
:
isOutgoing
?
parent
.
right
:
undefined
property
real
minSize
:
192
property
real
maxSize
:
32
0
property
real
maxSize
:
40
0
active
:
LinkPreviewInfo
.
url
!==
undefined
sourceComponent
:
ColumnLayout
{
id
:
previewContent
...
...
@@ -200,7 +200,7 @@ SBSMessageBase {
Layout.preferredWidth
:
img
.
width
-
2
*
hPadding
Layout.leftMargin
:
hPadding
Layout.rightMargin
:
hPadding
spacing
:
6
spacing
:
4
Label
{
width
:
parent
.
width
font.pointSize
:
10
...
...
@@ -211,10 +211,11 @@ SBSMessageBase {
color
:
root
.
colorText
visible
:
LinkPreviewInfo
.
title
.
length
>
0
text
:
LinkPreviewInfo
.
title
lineHeight
:
1.3
}
Label
{
width
:
parent
.
width
font.pointSize
:
1
1
font.pointSize
:
1
0
font.hintingPreference
:
Font
.
PreferNoHinting
wrapMode
:
Label
.
WrapAtWordBoundaryOrAnywhere
renderType
:
Text
.
NativeRendering
...
...
@@ -223,6 +224,7 @@ SBSMessageBase {
font.underline
:
root
.
hoveredLink
text
:
LinkPreviewInfo
.
description
color
:
root
.
colorUrl
lineHeight
:
1.3
}
Label
{
width
:
parent
.
width
...
...
@@ -233,6 +235,7 @@ SBSMessageBase {
textFormat
:
TextEdit
.
RichText
color
:
root
.
colorText
text
:
LinkPreviewInfo
.
domain
lineHeight
:
1.3
}
}
}
...
...
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