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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-qt
Commits
49e64bb0
Commit
49e64bb0
authored
1 year ago
by
Capucine Berthet
Committed by
Sébastien Blin
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
UserProfile: resolve display issue
GitLab:
#1443
Change-Id: I0334364fbc5cbb84159a66459f25b21a1b8f9271
parent
8dd04cab
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/mainview/components/UserProfile.qml
+8
-10
8 additions, 10 deletions
src/app/mainview/components/UserProfile.qml
with
8 additions
and
10 deletions
src/app/mainview/components/UserProfile.qml
+
8
−
10
View file @
49e64bb0
...
@@ -36,7 +36,7 @@ BaseModalDialog {
...
@@ -36,7 +36,7 @@ BaseModalDialog {
popupContent
:
Rectangle
{
popupContent
:
Rectangle
{
color
:
JamiTheme
.
backgroundRectangleColor
color
:
JamiTheme
.
backgroundRectangleColor
width
:
userProfileDialogLayout
.
width
+
20
width
:
idRectangle
.
width
+
20
height
:
userProfileDialogLayout
.
height
+
10
height
:
userProfileDialogLayout
.
height
+
10
radius
:
5
radius
:
5
...
@@ -69,14 +69,12 @@ BaseModalDialog {
...
@@ -69,14 +69,12 @@ BaseModalDialog {
ColumnLayout
{
ColumnLayout
{
id
:
userProfileDialogLayout
id
:
userProfileDialogLayout
width
:
Math
.
min
(
root
.
width
,
400
)
spacing
:
10
spacing
:
10
RowLayout
{
RowLayout
{
Layout.margins
:
10
Layout.margins
:
10
Layout.preferredWidth
:
childrenRect
.
width
Layout.fillWidth
:
true
spacing
:
10
spacing
:
10
Avatar
{
Avatar
{
...
@@ -153,8 +151,11 @@ BaseModalDialog {
...
@@ -153,8 +151,11 @@ BaseModalDialog {
Rectangle
{
Rectangle
{
Layout.preferredWidth
:
parent
.
width
id
:
idRectangle
Layout.alignment
:
Qt
.
AlignHCenter
Layout.alignment
:
Qt
.
AlignHCenter
Layout.preferredWidth
:
idLayout
.
width
+
20
radius
:
5
radius
:
5
color
:
root
.
backgroundColor
color
:
root
.
backgroundColor
...
@@ -162,12 +163,9 @@ BaseModalDialog {
...
@@ -162,12 +163,9 @@ BaseModalDialog {
Layout.preferredHeight
:
contactId
.
height
+
20
Layout.preferredHeight
:
contactId
.
height
+
20
Layout.leftMargin
:
10
Layout.leftMargin
:
10
RowLayout
{
RowLayout
{
id
:
idLayout
id
:
idLayout
anchors.centerIn
:
parent
anchors.centerIn
:
parent
anchors.fill
:
parent
spacing
:
15
spacing
:
15
Text
{
Text
{
...
@@ -185,7 +183,7 @@ BaseModalDialog {
...
@@ -185,7 +183,7 @@ BaseModalDialog {
TextEdit
{
TextEdit
{
id
:
contactId
id
:
contactId
Layout.alignment
:
Qt
.
AlignLeft
Layout.alignment
:
Qt
.
AlignLeft
Layout.
preferredWidth
:
parent
.
width
-
identifierText
.
width
-
35
Layout.
minimumWidth
:
400
-
identifierText
.
width
-
2
*
root
.
popupMargins
-
35
font.pointSize
:
JamiTheme
.
textFontSize
font.pointSize
:
JamiTheme
.
textFontSize
font.kerning
:
true
font.kerning
:
true
...
@@ -199,7 +197,7 @@ BaseModalDialog {
...
@@ -199,7 +197,7 @@ BaseModalDialog {
id
:
textMetricsContacIdText
id
:
textMetricsContacIdText
font
:
contactDisplayName
.
font
font
:
contactDisplayName
.
font
text
:
idText
text
:
idText
elideWidth
:
root
.
width
-
20
0
elideWidth
:
root
.
width
-
identifierText
.
width
-
2
*
root
.
popupMargins
-
6
0
elide
:
Qt
.
ElideMiddle
elide
:
Qt
.
ElideMiddle
}
}
...
...
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