Fixup AttachDialog
Use standard spacing values
Use implicit button size
(cherry picked from commit 7f72808a9a)
This commit is contained in:
committed by
Joshua Goins
parent
bd984f84ea
commit
321bc293f3
@@ -13,13 +13,15 @@ import org.kde.neochat
|
|||||||
QQC2.Popup {
|
QQC2.Popup {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
padding: 16
|
padding: Kirigami.Units.largeSpacing
|
||||||
|
|
||||||
signal chosen(string path)
|
signal chosen(string path)
|
||||||
|
|
||||||
contentItem: RowLayout {
|
contentItem: RowLayout {
|
||||||
|
|
||||||
|
spacing: Kirigami.Units.smallSpacing
|
||||||
|
|
||||||
QQC2.ToolButton {
|
QQC2.ToolButton {
|
||||||
Layout.preferredWidth: 160
|
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
|
|
||||||
icon.name: 'mail-attachment'
|
icon.name: 'mail-attachment'
|
||||||
@@ -37,11 +39,8 @@ QQC2.Popup {
|
|||||||
Kirigami.Separator {}
|
Kirigami.Separator {}
|
||||||
|
|
||||||
QQC2.ToolButton {
|
QQC2.ToolButton {
|
||||||
Layout.preferredWidth: 160
|
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
|
|
||||||
padding: 16
|
|
||||||
|
|
||||||
icon.name: 'insert-image'
|
icon.name: 'insert-image'
|
||||||
text: i18n("Clipboard image")
|
text: i18n("Clipboard image")
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
|||||||
Reference in New Issue
Block a user