mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-22 19:48:52 +00:00
chore(StatusStickersPopup): unify the footer height
and fix spacing
This commit is contained in:
parent
b2f5cd2b35
commit
86a58d3298
@ -250,14 +250,15 @@ Popup {
|
|||||||
RowLayout {
|
RowLayout {
|
||||||
id: footerContent
|
id: footerContent
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.preferredHeight: 24
|
||||||
Layout.rightMargin: Style.current.padding / 2
|
Layout.rightMargin: Style.current.padding / 2
|
||||||
Layout.leftMargin: Style.current.padding / 2
|
Layout.leftMargin: Style.current.padding / 2
|
||||||
spacing: Style.current.padding / 2
|
spacing: Style.current.padding / 2
|
||||||
|
|
||||||
StatusFlatRoundButton {
|
StatusFlatRoundButton {
|
||||||
id: btnAddStickerPack
|
id: btnAddStickerPack
|
||||||
implicitHeight: 40
|
Layout.preferredWidth: 24
|
||||||
implicitWidth: 24
|
Layout.preferredHeight: 24
|
||||||
icon.name: "add"
|
icon.name: "add"
|
||||||
type: StatusFlatRoundButton.Type.Tertiary
|
type: StatusFlatRoundButton.Type.Tertiary
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
@ -314,10 +315,8 @@ Popup {
|
|||||||
model: d.stickerPacksLoading ? 7 : 0
|
model: d.stickerPacksLoading ? 7 : 0
|
||||||
|
|
||||||
delegate: Rectangle {
|
delegate: Rectangle {
|
||||||
width: 24
|
Layout.preferredWidth: 24
|
||||||
height: 24
|
Layout.preferredHeight: 24
|
||||||
Layout.preferredHeight: height
|
|
||||||
Layout.preferredWidth: width
|
|
||||||
radius: width / 2
|
radius: width / 2
|
||||||
color: Style.current.backgroundHover
|
color: Style.current.backgroundHover
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user