Fix avatar upload overlay overflow at small size
This commit is contained in:
parent
9f4aadfd83
commit
29e21bc7c2
2
TODO.md
2
TODO.md
|
@ -32,7 +32,7 @@
|
|||
- Html links color
|
||||
- `pyotherside.atexit()`
|
||||
- Way to put sidepane back to auto-sizing (snap)
|
||||
- Better look for arrows when sidepane collapsed
|
||||
- Better look for arrows and option button when sidepane collapsed
|
||||
- Don't put own messages to the right past certain width
|
||||
|
||||
- Invite to room
|
||||
|
|
|
@ -64,6 +64,7 @@ HGridLayout {
|
|||
HColumnLayout {
|
||||
anchors.centerIn: parent
|
||||
spacing: currentSpacing
|
||||
width: parent.width
|
||||
|
||||
HIcon {
|
||||
svgName: "upload_avatar"
|
||||
|
@ -76,11 +77,12 @@ HGridLayout {
|
|||
HLabel {
|
||||
text: qsTr("Upload profile picture")
|
||||
color: Qt.hsla(0, 0, 0.9, 1)
|
||||
font.pixelSize: theme.fontSize.big
|
||||
font.pixelSize: theme.fontSize.big *
|
||||
avatar.height / avatarPreferredSize
|
||||
wrapMode: Text.WordWrap
|
||||
horizontalAlignment: Qt.AlignHCenter
|
||||
|
||||
Layout.fillWidth: true
|
||||
Layout.alignment: Qt.AlignCenter
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -69,17 +69,17 @@ Item {
|
|||
id: initialRoomTimer
|
||||
interval: 5000
|
||||
repeat: false
|
||||
onTriggered: pageStack.showRoom(
|
||||
"@test_mary:matrix.org",
|
||||
// onTriggered: pageStack.showRoom(
|
||||
// "@test_mary:matrix.org",
|
||||
// "Rooms",
|
||||
// "!TSXGsbBbdwsdylIOJZ:matrix.org"
|
||||
"Invites",
|
||||
"!xjqvLOGhMVutPXpAqi:matrix.org"
|
||||
)
|
||||
// onTriggered: pageStack.showPage(
|
||||
// "EditAccount/EditAccount",
|
||||
// {"userId": "@test_mary:matrix.org"}
|
||||
// "Invites",
|
||||
// "!xjqvLOGhMVutPXpAqi:matrix.org"
|
||||
// )
|
||||
onTriggered: pageStack.showPage(
|
||||
"EditAccount/EditAccount",
|
||||
{"userId": "@test_mary:matrix.org"}
|
||||
)
|
||||
}
|
||||
|
||||
onCurrentItemChanged: if (currentItem) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user