mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-21 12:35:52 +03:00
Fix sizing of share details page buttons
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
dd1ab1a4e0
commit
d757343628
2 changed files with 5 additions and 6 deletions
|
@ -716,18 +716,16 @@ Page {
|
|||
|
||||
Button {
|
||||
height: Style.standardPrimaryButtonHeight
|
||||
icon.source: hovered
|
||||
? "image://svgimage-custom-color/close.svg/" + palette.brightText
|
||||
: "image://svgimage-custom-color/close.svg/" + Style.errorBoxBackgroundColor
|
||||
icon.source: "image://svgimage-custom-color/close.svg/" + palette.buttonText
|
||||
icon.height: Style.extraSmallIconSize
|
||||
text: qsTr("Unshare")
|
||||
onClicked: root.deleteShare()
|
||||
}
|
||||
|
||||
Button {
|
||||
height: Style.standardPrimaryButtonHeight
|
||||
icon.source: hovered
|
||||
? "image://svgimage-custom-color/add.svg/" + palette.brightText
|
||||
: "image://svgimage-custom-color/add.svg/" + root.accentColor
|
||||
icon.source: "image://svgimage-custom-color/add.svg/" + palette.buttonText
|
||||
icon.height: Style.extraSmallIconSize
|
||||
text: qsTr("Add another link")
|
||||
visible: root.isLinkShare && root.canCreateLinkShares
|
||||
enabled: visible
|
||||
|
|
|
@ -71,6 +71,7 @@ QtObject {
|
|||
property int iconButtonWidth: 36
|
||||
property int standardPrimaryButtonHeight: 40
|
||||
readonly property int smallIconSize: 16
|
||||
readonly property int extraSmallIconSize: 8
|
||||
|
||||
property int minActivityHeight: variableSize(32)
|
||||
|
||||
|
|
Loading…
Reference in a new issue