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