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
|
||||
closePolicy: QQC2.Popup.CloseOnEscape | QQC2.Popup.CloseOnPressOutsideParent
|
||||
margins: 0
|
||||
padding: Kirigami.Units.smallSpacing
|
||||
implicitWidth: Kirigami.Units.gridUnit * 15
|
||||
padding: 1
|
||||
implicitWidth: Kirigami.Units.gridUnit * 16
|
||||
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 {
|
||||
onChosen: react(emoji)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user