mirror of
https://github.com/status-im/snorenotify.git
synced 2025-02-16 18:36:45 +00:00
Fix qml layout.
This commit is contained in:
parent
9cbf5f7733
commit
e3a479c4f6
@ -73,8 +73,10 @@ Rectangle {
|
||||
anchors.margins: snoreMargin
|
||||
anchors.topMargin: snoreMargin / 2
|
||||
anchors.left: image.right
|
||||
anchors.right: closeButton.left
|
||||
textFormat: Text.RichText
|
||||
font.family: snoreFont
|
||||
clip: true
|
||||
}
|
||||
|
||||
Text {
|
||||
@ -88,7 +90,7 @@ Rectangle {
|
||||
anchors.left: image.right
|
||||
anchors.margins: snoreMargin
|
||||
anchors.topMargin: snoreMargin / 2
|
||||
wrapMode: Text.WordWrap
|
||||
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
||||
maximumLineCount: height / font.pixelSize - 1
|
||||
onLinkActivated: Qt.openUrlExternally(link)
|
||||
textFormat: Text.RichText
|
||||
|
Loading…
x
Reference in New Issue
Block a user