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