Fix about page

pull/30/head
reionwong 5 years ago
parent d12f7861f7
commit 5b599d10d4

@ -55,14 +55,15 @@ ItemPage {
height: FishUI.Units.smallSpacing
}
// Label {
// Layout.alignment: Qt.AlignTop | Qt.AlignHCenter
// text: about.isCutefishOS ? "<b>CutefishOS</b>" : "<b>Cutefish</b>"
// font.pointSize: 22
// color: "#3385FF"
// leftPadding: FishUI.Units.largeSpacing * 2
// rightPadding: FishUI.Units.largeSpacing * 2
// }
Label {
Layout.alignment: Qt.AlignTop | Qt.AlignHCenter
text: "<b>Cutefish</b>"
visible: !about.isCutefishOS
font.pointSize: 22
color: "#3385FF"
leftPadding: FishUI.Units.largeSpacing * 2
rightPadding: FishUI.Units.largeSpacing * 2
}
Image {
Layout.preferredWidth: 167
@ -75,13 +76,14 @@ ItemPage {
}
Label {
text: !about.isCutefishOS ? qsTr("Built on %1").arg(about.prettyProductName) : ""
text: qsTr("Built on %1").arg(about.prettyProductName)
visible: !about.isCutefishOS
Layout.alignment: Qt.AlignTop | Qt.AlignHCenter
color: FishUI.Theme.disabledTextColor
}
Item {
height: FishUI.Units.largeSpacing
height: FishUI.Units.largeSpacing * 2
}
RoundedItem {

@ -40,7 +40,7 @@ Item {
id: _itemLayout
anchors.fill: parent
anchors.leftMargin: 0
anchors.rightMargin: FishUI.Units.smallSpacing
anchors.rightMargin: 0
anchors.topMargin: FishUI.Units.smallSpacing
anchors.bottomMargin: FishUI.Units.smallSpacing
spacing: 0
@ -89,6 +89,8 @@ Item {
RowLayout {
id: _topItem
anchors.fill: parent
anchors.leftMargin: FishUI.Units.smallSpacing
anchors.rightMargin: FishUI.Units.smallSpacing
spacing: FishUI.Units.largeSpacing
Image {

Loading…
Cancel
Save