Fix spacing
This commit is contained in:
@@ -76,7 +76,7 @@ ToolBar {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
RowLayout {
|
ColumnLayout {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.margins: 8
|
Layout.margins: 8
|
||||||
|
|
||||||
@@ -84,27 +84,19 @@ ToolBar {
|
|||||||
|
|
||||||
visible: false
|
visible: false
|
||||||
|
|
||||||
spacing: 8
|
RowLayout {
|
||||||
|
Kirigami.Avatar {
|
||||||
|
Layout.preferredWidth: Kirigami.Units.gridUnit
|
||||||
|
Layout.preferredHeight: Kirigami.Units.gridUnit
|
||||||
|
|
||||||
Control {
|
source: replyUser ? ("image://mxc/" + replyUser.avatarMediaId) : ""
|
||||||
Layout.alignment: Qt.AlignTop
|
name: replyUser ? replyUser.name : i18n("No name")
|
||||||
|
}
|
||||||
|
|
||||||
padding: 4
|
Label {
|
||||||
|
Layout.alignment: Qt.AlignVCenter
|
||||||
contentItem: RowLayout {
|
text: replyUser ? replyUser.displayName : i18n("No name")
|
||||||
Kirigami.Avatar {
|
rightPadding: 8
|
||||||
Layout.preferredWidth: Kirigami.Units.gridUnit
|
|
||||||
Layout.preferredHeight: Kirigami.Units.gridUnit
|
|
||||||
|
|
||||||
source: replyUser ? ("image://mxc/" + replyUser.avatarMediaId) : ""
|
|
||||||
name: replyUser ? replyUser.name : i18n("No name")
|
|
||||||
}
|
|
||||||
|
|
||||||
Label {
|
|
||||||
Layout.alignment: Qt.AlignVCenter
|
|
||||||
text: replyUser ? replyUser.displayName : i18n("No name")
|
|
||||||
rightPadding: 8
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -313,8 +305,8 @@ ToolBar {
|
|||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
Layout.preferredWidth: Kirigami.Units.gridUnit * 2 + Kirigami.Units.smallSpacing + Kirigami.Units.largeSpacing
|
Layout.preferredWidth: replyItem.visible ? Kirigami.Units.largeSpacing : Kirigami.Units.gridUnit * 2 + Kirigami.Units.smallSpacing + Kirigami.Units.largeSpacing
|
||||||
|
|
||||||
ToolButton {
|
ToolButton {
|
||||||
id: uploadButton
|
id: uploadButton
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user