summary refs log tree commit diff
path: root/resources/qml/dialogs
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-12-13 06:18:30 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-12-13 06:18:30 +0100
commit2974c541c54f934ac3f830fb262bb8d692558a40 (patch)
tree610fa4b17a8981042be49663194e01ddb6e3da0f /resources/qml/dialogs
parentShow some avatar for image packs (diff)
downloadnheko-2974c541c54f934ac3f830fb262bb8d692558a40.tar.xz
Misc pack editor improvements
Diffstat (limited to 'resources/qml/dialogs')
-rw-r--r--resources/qml/dialogs/ImagePackEditorDialog.qml5
-rw-r--r--resources/qml/dialogs/ImagePackSettingsDialog.qml4
2 files changed, 6 insertions, 3 deletions
diff --git a/resources/qml/dialogs/ImagePackEditorDialog.qml b/resources/qml/dialogs/ImagePackEditorDialog.qml
index d5be9580..791657df 100644
--- a/resources/qml/dialogs/ImagePackEditorDialog.qml
+++ b/resources/qml/dialogs/ImagePackEditorDialog.qml
@@ -91,7 +91,9 @@ ApplicationWindow {
 
                         folder: StandardPaths.writableLocation(StandardPaths.PicturesLocation)
                         fileMode: FileDialog.OpenFiles
-                        nameFilters: [qsTr("Stickers (*.png *.webp *.gif *.jpg *.jpeg)")]
+                        nameFilters: [qsTr("Images (*.png *.webp *.gif *.jpg *.jpeg)")]
+                        title: qsTr("Select images for pack")
+                        acceptLabel: qsTr("Add to pack")
                         onAccepted: imagePack.addStickers(files)
                     }
 
@@ -166,6 +168,7 @@ ApplicationWindow {
                                 folder: StandardPaths.writableLocation(StandardPaths.PicturesLocation)
                                 fileMode: FileDialog.OpenFile
                                 nameFilters: [qsTr("Overview Image (*.png *.webp *.jpg *.jpeg)")]
+                                title: qsTr("Select overview image for pack")
                                 onAccepted: imagePack.setAvatar(file)
                             }
                         }
diff --git a/resources/qml/dialogs/ImagePackSettingsDialog.qml b/resources/qml/dialogs/ImagePackSettingsDialog.qml
index e48040c1..2bad7ff9 100644
--- a/resources/qml/dialogs/ImagePackSettingsDialog.qml
+++ b/resources/qml/dialogs/ImagePackSettingsDialog.qml
@@ -71,7 +71,7 @@ ApplicationWindow {
                             });
                             dialog.show();
                         }
-                        width: packlist.width
+                        width: packlistC.width
                         visible: !packlist.containsAccountPack
                         text: qsTr("Create account pack")
                     }
@@ -84,7 +84,7 @@ ApplicationWindow {
                             });
                             dialog.show();
                         }
-                        width: packlist.width
+                        width: packlistC.width
                         text: qsTr("New room pack")
                     }