Remove custom colors and use point instead of pixel-size values

This commit is contained in:
Christian Muehlhaeuser 2019-05-05 14:50:37 +02:00
parent 3d6e14c358
commit da8f00b86d
No known key found for this signature in database
GPG key ID: 3CF9FA45CA1EBB7E
2 changed files with 11 additions and 9 deletions

View file

@ -27,7 +27,7 @@ ColumnLayout {
anchors.fill: parent
anchors.leftMargin: 8
text: name
font.pixelSize: 18
font.pointSize: 15
font.weight: Font.Light
verticalAlignment: Label.AlignVCenter
}

View file

@ -37,7 +37,7 @@ ColumnLayout {
opacity: 0.5
}
Label {
font.pixelSize: 12
font.pointSize: 10
text: qsTr("%1 shared").arg(actorname)
opacity: 0.3
}
@ -54,7 +54,7 @@ ColumnLayout {
opacity: 0.5
}
Label {
font.pixelSize: 12
font.pointSize: 10
text: qsTr("%1 liked").arg(actorname)
opacity: 0.3
}
@ -84,6 +84,7 @@ ColumnLayout {
Label {
id: namelabel
font.pointSize: 11
font.bold: true
text: name
textFormat: Text.PlainText
@ -93,8 +94,8 @@ ColumnLayout {
}
Label {
// anchors.bottom: parent.bottom
color: "steelblue"
font.pixelSize: 11
font.pointSize: 9
opacity: 0.4
text: "@" + author
MouseArea {
@ -107,7 +108,8 @@ ColumnLayout {
}
Label {
anchors.right: parent.right
font.pixelSize: 11
font.pointSize: 9
opacity: 0.4
text: createdat
MouseArea {
@ -128,7 +130,7 @@ ColumnLayout {
text: "<style>a:link { visibility: hidden; text-decoration: none; color: " + Material.accent + "; }</style>" + body
textFormat: Text.RichText
onLinkActivated: Qt.openUrlExternally(link)
font.pixelSize: 13
font.pointSize: 11
Layout.fillWidth: true
wrapMode: Text.WordWrap
@ -144,10 +146,10 @@ ColumnLayout {
RowLayout {
visible: reply
Label {
font.pixelSize: 12
font.pointSize: 10
text: qsTr("Replying to %1").arg(
"@" + replytoauthor)
opacity: 0.3
opacity: 0.4
MouseArea {
anchors.fill: parent