зеркало из https://github.com/nextcloud/desktop.git
Fix sizing of share details page buttons
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Родитель
dd1ab1a4e0
Коммит
d757343628
|
@ -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)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче