Fix emoji dialog padding and background
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
This commit is contained in:
committed by
Tobias Fella
parent
dc8b68931e
commit
68a15913bd
@@ -18,10 +18,20 @@ QQC2.Popup {
|
|||||||
focus: true
|
focus: true
|
||||||
closePolicy: QQC2.Popup.CloseOnEscape | QQC2.Popup.CloseOnPressOutsideParent
|
closePolicy: QQC2.Popup.CloseOnEscape | QQC2.Popup.CloseOnPressOutsideParent
|
||||||
margins: 0
|
margins: 0
|
||||||
padding: Kirigami.Units.smallSpacing
|
padding: 1
|
||||||
implicitWidth: Kirigami.Units.gridUnit * 15
|
implicitWidth: Kirigami.Units.gridUnit * 16
|
||||||
implicitHeight: Kirigami.Units.gridUnit * 20
|
implicitHeight: Kirigami.Units.gridUnit * 20
|
||||||
|
|
||||||
|
background: Rectangle {
|
||||||
|
Kirigami.Theme.inherit: false
|
||||||
|
Kirigami.Theme.colorSet: Kirigami.Theme.View
|
||||||
|
color: Kirigami.Theme.backgroundColor
|
||||||
|
border.width: 1
|
||||||
|
border.color: Kirigami.ColorUtils.linearInterpolation(Kirigami.Theme.backgroundColor,
|
||||||
|
Kirigami.Theme.textColor,
|
||||||
|
0.15)
|
||||||
|
}
|
||||||
|
|
||||||
contentItem: EmojiPicker {
|
contentItem: EmojiPicker {
|
||||||
onChosen: react(emoji)
|
onChosen: react(emoji)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user