Hide status field for now, adjust big font size

This commit is contained in:
miruka
2019-07-19 00:10:46 -04:00
parent a3e2233391
commit db3a9efe8a
6 changed files with 32 additions and 20 deletions

View File

@@ -31,7 +31,7 @@ HScalingBox {
HLabel {
id: interfaceTitle
font.pixelSize: theme.fontSize.big
font.pixelSize: theme.fontSize.bigger
}
}

View File

@@ -59,6 +59,7 @@ SwipeView {
font.pixelSize: theme.fontSize.big
elide: Text.ElideRight
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
Layout.leftMargin: currentSpacing
Layout.rightMargin: Layout.leftMargin

View File

@@ -39,7 +39,9 @@ HRectangle {
text: displayName
font.pixelSize: theme.fontSize.big
elide: Text.ElideRight
verticalAlignment: Text.AlignVCenter
Layout.fillHeight: true
Layout.maximumWidth: Math.max(
0,
row.width - row.totalSpacing - avatar.width -
@@ -53,7 +55,9 @@ HRectangle {
text: topic
font.pixelSize: theme.fontSize.small
elide: Text.ElideRight
verticalAlignment: Text.AlignVCenter
Layout.fillHeight: true
Layout.maximumWidth: Math.max(
0,
row.width - row.totalSpacing - avatar.width -

View File

@@ -41,14 +41,17 @@ Column {
HLabel {
id: accountLabel
text: userInfo.displayName || model.userId
font.pixelSize: theme.fontSize.big
elide: HLabel.ElideRight
leftPadding: sidePane.currentSpacing
rightPadding: leftPadding
elide: HLabel.ElideRight
Layout.fillWidth: true
}
HTextField {
visible: false // TODO
id: statusEdit
text: userInfo.statusMessage
placeholderText: qsTr("Set status message")

View File

@@ -23,7 +23,7 @@ QtObject {
property int smaller: 8
property int small: 13
property int normal: 16
property int big: 24
property int big: 22
property int bigger: 32
property int biggest: 48
}