diff --git a/src/app/constant/JamiTheme.qml b/src/app/constant/JamiTheme.qml index d963a50b709d29dab96cbd1e2477904a26744603..d417bcd973a632b026c0ceacb9735e51bddb9064 100644 --- a/src/app/constant/JamiTheme.qml +++ b/src/app/constant/JamiTheme.qml @@ -273,7 +273,7 @@ Item { property real messageOptionTextFontSize: calcSize(15) property int emojiPickerWidth: 400 property int emojiPickerHeight: 425 - property int defaulMaxWidthReaction : 350 + property int defaulMaxWidthReaction: 350 // Files To Send Container property color removeFileButtonColor: Qt.rgba(96, 95, 97, 0.5) @@ -389,9 +389,10 @@ Item { property real pluginHandlersPopupViewDelegateHeight: 50 property color pluginDefaultBackgroundColor: "#666666" property real remotePluginMinimumDelegateWidth: 430 - property real remotePluginMinimumDelegateHeight: 260 + property real remotePluginMinimumDelegateHeight: 275 property real remotePluginMaximumDelegateWidth: 645 - property real remotePluginMaximumDelegateHeight: 390 + property real remotePluginMaximumDelegateHeight: 413 + property real iconMargin: 30 * baseZoom property real remotePluginDelegateWidth: remotePluginMinimumDelegateWidth * baseZoom property real remotePluginDelegateHeight: remotePluginMinimumDelegateHeight * baseZoom property color pluginViewBackgroundColor: darkTheme ? "#000000" : "#F0EFEF" diff --git a/src/app/settingsview/components/PluginAvailableDelegate.qml b/src/app/settingsview/components/PluginAvailableDelegate.qml index f01febea36626f22f105ce0f6c7bb4e3f95918d9..e3f03eb238fc4babf20fa1ad03386667d35eee1e 100644 --- a/src/app/settingsview/components/PluginAvailableDelegate.qml +++ b/src/app/settingsview/components/PluginAvailableDelegate.qml @@ -80,9 +80,9 @@ ItemDelegate { background: CachedImage { id: background defaultImage: JamiResources.default_plugin_background_jpg - downloadUrl: PluginAdapter.getBackgroundImageUrl(pluginName) + downloadUrl: PluginAdapter.getBackgroundImageUrl(pluginId) anchors.fill: parent - localPath: root.localPath === undefined ? '' : root.localPath + localPath: root.backgroundLocalPath === undefined ? '' : root.backgroundLocalPath imageFillMode: Image.PreserveAspectCrop LinearGradient { id: gradient @@ -165,6 +165,8 @@ ItemDelegate { } RowLayout { Layout.alignment: Qt.AlignCenter + Layout.topMargin: JamiTheme.iconMargin + Layout.bottomMargin: JamiTheme.iconMargin CachedImage { id: icon defaultImage: JamiResources.plugins_default_icon_svg