Skip to content
Snippets Groups Projects
Commit 2916b4c5 authored by Aline Gondim Santos's avatar Aline Gondim Santos
Browse files

swarmdetailpanel: fix avatar position

Change-Id: I9a94c11056be4e176cb01400b2023021a98b6a51
GitLab: #1288
parent 5530649f
No related branches found
No related tags found
No related merge requests found
......@@ -67,8 +67,6 @@ Rectangle {
width: avatarSize
height: avatarSize
Layout.alignment: Qt.AlignHCenter
newItem: true
imageId: LRCInstance.selectedConvUid
avatarSize: JamiTheme.smartListAvatarSize
......@@ -76,6 +74,7 @@ Rectangle {
ColumnLayout {
signal accepted
Layout.fillWidth: true
ModalTextEdit {
id: titleLine
......@@ -92,8 +91,8 @@ Rectangle {
isSwarmDetail: true
readOnly: !isAdmin
Layout.preferredWidth: Math.min(217, swarmProfileDetails.width - currentAccountAvatar.width - 30 - JamiTheme.settingsMarginSize)
Layout.fillWidth: true
Layout.rightMargin: 2 * JamiTheme.settingsMarginSize
staticText: CurrentConversation.title
elidedText: titleLineTextSize.elidedText
......@@ -136,7 +135,8 @@ Rectangle {
readOnly: !isAdmin || CurrentConversation.isCoreDialog
Layout.preferredWidth: Math.min(217, swarmProfileDetails.width - currentAccountAvatar.width - 30 - JamiTheme.settingsMarginSize)
Layout.fillWidth: true
Layout.rightMargin: 2 * JamiTheme.settingsMarginSize
staticText: CurrentConversation.description
placeholderText: JamiStrings.addADescription
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment