mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-21 12:35:52 +03:00
Unify small icon sizes in file details components
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
fef9f3b643
commit
313592645d
3 changed files with 11 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -58,6 +58,7 @@ QtObject {
|
|||
|
||||
property int iconButtonWidth: 36
|
||||
property int standardPrimaryButtonHeight: 40
|
||||
readonly property int smallIconSize: 16
|
||||
|
||||
property int minActivityHeight: variableSize(32)
|
||||
|
||||
|
|
Loading…
Reference in a new issue