зеркало из https://github.com/nextcloud/desktop.git
Make sizing of addacount button more reasonable
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Родитель
d21a1911ea
Коммит
6b1c88fc25
|
@ -319,20 +319,13 @@ ApplicationWindow {
|
|||
onObjectRemoved: accountMenu.removeItem(object)
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
implicitHeight: 1
|
||||
color: palette.dark
|
||||
}
|
||||
|
||||
MenuItem {
|
||||
id: addAccountButton
|
||||
height: Systray.enableAddAccount ? Style.addAccountButtonHeight : 0
|
||||
hoverEnabled: true
|
||||
visible: Systray.enableAddAccount
|
||||
|
||||
icon.source: "image://svgimage-custom-color/add.svg/" + palette.windowText
|
||||
icon.width: Style.accountAvatarSize
|
||||
text: qsTr("Add account")
|
||||
onClicked: UserModel.addAccount()
|
||||
|
||||
|
@ -341,6 +334,13 @@ ApplicationWindow {
|
|||
Accessible.onPressAction: addAccountButton.clicked()
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
implicitHeight: 1
|
||||
color: palette.dark
|
||||
}
|
||||
|
||||
MenuItem {
|
||||
id: syncPauseButton
|
||||
font.pixelSize: Style.topLinePixelSize
|
||||
|
|
Загрузка…
Ссылка в новой задаче