diff --git a/src/gui/filedetails/ShareDelegate.qml b/src/gui/filedetails/ShareDelegate.qml index c1b961026..5338ce18c 100644 --- a/src/gui/filedetails/ShareDelegate.qml +++ b/src/gui/filedetails/ShareDelegate.qml @@ -165,6 +165,8 @@ GridLayout { bgNormalOpacity: 0 icon.source: "image://svgimage-custom-color/add.svg/" + Style.ncTextColor + icon.width: Style.smallIconSize + icon.height: Style.smallIconSize visible: (root.isPlaceholderLinkShare || root.isSecureFileDropPlaceholderLinkShare) && root.canCreateLinkShares enabled: visible @@ -201,8 +203,8 @@ GridLayout { icon.source: shareLinkCopied ? "image://svgimage-custom-color/copy.svg/" + Style.ncHeaderTextColor : "image://svgimage-custom-color/copy.svg/" + Style.ncTextColor - icon.width: 16 - icon.height: 16 + icon.width: Style.smallIconSize + icon.height: Style.smallIconSize visible: root.isLinkShare || root.isInternalLinkShare enabled: visible @@ -246,6 +248,8 @@ GridLayout { bgNormalOpacity: 0 icon.source: "image://svgimage-custom-color/more.svg/" + Style.ncTextColor + icon.width: Style.smallIconSize + icon.height: Style.smallIconSize visible: !root.isPlaceholderLinkShare && !root.isSecureFileDropPlaceholderLinkShare && !root.isInternalLinkShare enabled: visible diff --git a/src/gui/filedetails/ShareDetailsPage.qml b/src/gui/filedetails/ShareDetailsPage.qml index 8ef021527..ecdaa5c6a 100644 --- a/src/gui/filedetails/ShareDetailsPage.qml +++ b/src/gui/filedetails/ShareDetailsPage.qml @@ -263,10 +263,10 @@ Page { ColumnLayout { id: moreMenu - property int rowIconWidth: 16 - property int indicatorItemWidth: 20 - property int indicatorSpacing: Style.standardSpacing - property int itemPadding: Style.smallSpacing + readonly property int rowIconWidth: Style.smallIconSize + readonly property int indicatorItemWidth: 20 + readonly property int indicatorSpacing: Style.standardSpacing + readonly property int itemPadding: Style.smallSpacing width: parent.width diff --git a/theme/Style/Style.qml b/theme/Style/Style.qml index 9a7a69f48..6c9de5742 100644 --- a/theme/Style/Style.qml +++ b/theme/Style/Style.qml @@ -58,6 +58,7 @@ QtObject { property int iconButtonWidth: 36 property int standardPrimaryButtonHeight: 40 + readonly property int smallIconSize: 16 property int minActivityHeight: variableSize(32)