improve qml
This commit is contained in:
parent
091d2be1f5
commit
85d01b248f
|
@ -62,9 +62,9 @@ Rectangle {
|
||||||
anchors.right: closeButton.left
|
anchors.right: closeButton.left
|
||||||
anchors.rightMargin: 22
|
anchors.rightMargin: 22
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.topMargin: 3
|
anchors.topMargin: 5
|
||||||
anchors.left: image.right
|
anchors.left: image.right
|
||||||
anchors.leftMargin: 6
|
anchors.leftMargin: 5
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -74,13 +74,13 @@ Rectangle {
|
||||||
text: qsTr("Body")
|
text: qsTr("Body")
|
||||||
font.pointSize: 10
|
font.pointSize: 10
|
||||||
anchors.right: appIcon.left
|
anchors.right: appIcon.left
|
||||||
anchors.rightMargin: 6
|
anchors.rightMargin: 5
|
||||||
anchors.top: title.bottom
|
anchors.top: title.bottom
|
||||||
anchors.topMargin: 6
|
anchors.topMargin: 5
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.bottomMargin: 8
|
anchors.bottomMargin: 5
|
||||||
anchors.left: image.right
|
anchors.left: image.right
|
||||||
anchors.leftMargin: 6
|
anchors.leftMargin: 5
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
onLinkActivated: Qt.openUrlExternally(link)
|
onLinkActivated: Qt.openUrlExternally(link)
|
||||||
|
|
||||||
|
@ -89,25 +89,25 @@ Rectangle {
|
||||||
|
|
||||||
Image {
|
Image {
|
||||||
id: image
|
id: image
|
||||||
|
smooth: true
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.leftMargin: 0
|
anchors.leftMargin: 5
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.bottomMargin: 0
|
anchors.bottomMargin: 5
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.topMargin: 0
|
anchors.topMargin: 5
|
||||||
z: 4
|
z: 4
|
||||||
fillMode: Image.PreserveAspectFit
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Image {
|
Image {
|
||||||
id: appIcon
|
id: appIcon
|
||||||
width: 30
|
width: 30
|
||||||
height: 30
|
height: 30
|
||||||
|
smooth: true
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.rightMargin: 6
|
anchors.rightMargin: 5
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.bottomMargin: 8
|
anchors.bottomMargin: 5
|
||||||
fillMode: Image.PreserveAspectFit
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Image {
|
Image {
|
||||||
|
@ -118,10 +118,10 @@ Rectangle {
|
||||||
anchors.topMargin: 0
|
anchors.topMargin: 0
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.rightMargin: 0
|
anchors.rightMargin: 0
|
||||||
fillMode: Image.PreserveAspectFit
|
|
||||||
z: 3
|
z: 3
|
||||||
source: "resources/close.png"
|
source: "resources/close.png"
|
||||||
visible: false
|
visible: false
|
||||||
|
smooth: true
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
id: mouseArea1
|
id: mouseArea1
|
||||||
|
|
Loading…
Reference in New Issue