mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-23 22:01:05 -05:00
Style buttons
This commit is contained in:
parent
20b2de59c5
commit
4df10e3c69
@ -19,6 +19,7 @@
|
||||
import QtQuick 2.7
|
||||
import QtQuick.Layouts 1.3
|
||||
import QtQuick.Controls 2.0
|
||||
import "components/."
|
||||
|
||||
Item
|
||||
{
|
||||
@ -120,24 +121,32 @@ Item
|
||||
Layout.alignment: Qt.AlignHCenter | Qt.AlignBottom
|
||||
spacing: 3
|
||||
|
||||
Button
|
||||
ButtonIcon
|
||||
{
|
||||
text: qsTr("Advanced...")
|
||||
visible: !loginView.loginPreset
|
||||
onClicked: loginView.advancedMode = !loginView.advancedMode
|
||||
imgUrl: "/icons/options.svg"
|
||||
height: bottomButton.height - 5
|
||||
width: height
|
||||
anchors.verticalCenter: bottomButton.verticalCenter
|
||||
}
|
||||
|
||||
Button
|
||||
ButtonText
|
||||
{
|
||||
id: bottomButton
|
||||
text: loginView.buttonText
|
||||
onClicked: loginView.submit(nameField.text, passwordField.text)
|
||||
iconUrl: "/icons/network.svg"
|
||||
buttonTextPixelSize: 15
|
||||
}
|
||||
Button
|
||||
ButtonIcon
|
||||
{
|
||||
id: cancelButton
|
||||
text: loginView.cancelText
|
||||
onClicked: loginView.cancel()
|
||||
height: bottomButton.height - 5
|
||||
width: height
|
||||
imgUrl: "/icons/back.png"
|
||||
anchors.verticalCenter: bottomButton.verticalCenter
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user