forces left alignment for history diff
This commit is contained in:
parent
75fc44e34f
commit
ef3ee1cdf6
|
@ -48,19 +48,7 @@ HRowLayout {
|
||||||
|
|
||||||
readonly property alias contentLabel: contentLabel
|
readonly property alias contentLabel: contentLabel
|
||||||
|
|
||||||
readonly property int xOffset:
|
readonly property int xOffset: 0
|
||||||
onRight ?
|
|
||||||
Math.min(
|
|
||||||
contentColumn.width - contentLabel.paintedWidth -
|
|
||||||
contentLabel.leftPadding - contentLabel.rightPadding,
|
|
||||||
|
|
||||||
contentColumn.width - linksRepeater.widestChild -
|
|
||||||
(
|
|
||||||
pureMedia ?
|
|
||||||
0 : contentLabel.leftPadding + contentLabel.rightPadding
|
|
||||||
),
|
|
||||||
) :
|
|
||||||
0
|
|
||||||
|
|
||||||
readonly property int maxMessageWidth:
|
readonly property int maxMessageWidth:
|
||||||
contentText.includes("<pre>") || contentText.includes("<table>") ?
|
contentText.includes("<pre>") || contentText.includes("<table>") ?
|
||||||
|
@ -75,7 +63,7 @@ HRowLayout {
|
||||||
readonly property alias selectedText: contentLabel.selectedPlainText
|
readonly property alias selectedText: contentLabel.selectedPlainText
|
||||||
|
|
||||||
spacing: theme.chat.message.horizontalSpacing
|
spacing: theme.chat.message.horizontalSpacing
|
||||||
layoutDirection: onRight ? Qt.RightToLeft: Qt.LeftToRight
|
layoutDirection: Qt.LeftToRight
|
||||||
|
|
||||||
HColumnLayout {
|
HColumnLayout {
|
||||||
id: contentColumn
|
id: contentColumn
|
||||||
|
|
Loading…
Reference in New Issue
Block a user