Fix StateDelegate overflow.
This commit is contained in:
@@ -9,6 +9,8 @@ import Spectral.Effect 2.0
|
|||||||
import Spectral.Setting 0.1
|
import Spectral.Setting 0.1
|
||||||
|
|
||||||
Control {
|
Control {
|
||||||
|
id: root
|
||||||
|
|
||||||
padding: 8
|
padding: 8
|
||||||
|
|
||||||
contentItem: RowLayout {
|
contentItem: RowLayout {
|
||||||
@@ -62,7 +64,7 @@ Control {
|
|||||||
|
|
||||||
Label {
|
Label {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.maximumWidth: messageListView.width - authorControl.width - row.spacing
|
Layout.maximumWidth: messageListView.width - authorControl.width - row.spacing - (root.padding * 2)
|
||||||
|
|
||||||
text: display + " • " + Qt.formatTime(time, "hh:mm AP")
|
text: display + " • " + Qt.formatTime(time, "hh:mm AP")
|
||||||
color: MPalette.foreground
|
color: MPalette.foreground
|
||||||
|
|||||||
Reference in New Issue
Block a user