Adjust UI

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

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

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

Loading…
Cancel
Save