Try to fix variable timestamp width

master
Nicolas Werner 4 years ago
parent b972d827cb
commit 1e9efa3072
  1. 1
      resources/qml/TimelineRow.qml

@ -130,6 +130,7 @@ Item {
Label { Label {
Layout.alignment: Qt.AlignRight | Qt.AlignTop Layout.alignment: Qt.AlignRight | Qt.AlignTop
text: model.timestamp.toLocaleTimeString("HH:mm") text: model.timestamp.toLocaleTimeString("HH:mm")
width: Math.max(implicitWidth, text.length*fontMetrics.maximumCharacterWidth)
color: inactiveColors.text color: inactiveColors.text
MouseArea{ MouseArea{

Loading…
Cancel
Save