Adjust UI

pull/28/head
reionwong 4 years ago
parent 755ae37a3c
commit b9dff03b92

@ -189,7 +189,7 @@ ItemPage {
MouseArea {
id: _mouseArea
anchors.fill: parent
anchors.margins: FishUI.Units.smallSpacing
anchors.margins: FishUI.Units.smallSpacing * 1.5
onClicked: {
_view.currentIndex = index
cursorModel.currentTheme = model.id
@ -199,7 +199,7 @@ ItemPage {
Rectangle {
anchors.fill: parent
anchors.margins: FishUI.Units.smallSpacing
anchors.margins: FishUI.Units.smallSpacing * 1.5
color: FishUI.Theme.darkMode ? "#3C3C3C" : "#FAFAFA"
radius: FishUI.Theme.mediumRadius
z: -1
@ -210,7 +210,7 @@ ItemPage {
ColumnLayout {
anchors.fill: parent
anchors.margins: FishUI.Units.smallSpacing
anchors.margins: FishUI.Units.smallSpacing * 1.5
Item {
Layout.fillHeight: true
@ -221,8 +221,8 @@ ItemPage {
}
FishUI.IconItem {
width: 24
height: 24
width: 22
height: 22
source: model.image
smooth: true
Layout.alignment: Qt.AlignHCenter

@ -75,6 +75,7 @@ RoundedItem {
anchors.fill: parent
anchors.topMargin: FishUI.Units.smallSpacing
anchors.bottomMargin: FishUI.Units.smallSpacing
spacing: 0
Image {
id: _userImage
@ -115,6 +116,10 @@ RoundedItem {
leftPadding: FishUI.Units.largeSpacing
}
Item {
width: FishUI.Units.largeSpacing
}
Label {
Layout.alignment: Qt.AlignVCenter
text: realName

Loading…
Cancel
Save