mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Fix text lines, don't leave only one line
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
95a8ecf013
commit
659ccc3f07
@ -143,7 +143,7 @@ RowLayout {
|
||||
|
||||
elide: Text.ElideRight
|
||||
wrapMode: Text.Wrap
|
||||
maximumLineCount: 1
|
||||
maximumLineCount: 2
|
||||
font.pixelSize: Style.topLinePixelSize
|
||||
color: Style.ncTextColor
|
||||
visible: text !== ""
|
||||
@ -164,12 +164,8 @@ RowLayout {
|
||||
|
||||
Layout.alignment: Qt.AlignVCenter | Qt.AlignRight
|
||||
height: (text === "") ? 0 : implicitHeight
|
||||
width: parent.width
|
||||
|
||||
text: root.activityData.dateTime
|
||||
elide: Text.ElideRight
|
||||
wrapMode: Text.Wrap
|
||||
maximumLineCount: 2
|
||||
font.pixelSize: Style.subLinePixelSize
|
||||
color: Style.ncSecondaryTextColor
|
||||
visible: text !== ""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user