Skip to content

Commit

Permalink
Default Button height, bump qtquick version (ubports#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
cibersheep authored and Flohack74 committed Jan 20, 2020
1 parent 1f75cf8 commit 9a731b0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion qml/nextcloud/Main.qml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import QtQuick 2.0
import QtQuick 2.9
import Ubuntu.OnlineAccounts.Plugin 1.0

Flickable {
Expand Down
8 changes: 3 additions & 5 deletions qml/nextcloud/NewAccount.qml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import QtQuick 2.0
import QtQuick 2.9
import Ubuntu.Components 1.3
import Ubuntu.OnlineAccounts 0.1

Expand Down Expand Up @@ -29,7 +29,7 @@ Item {
id: errorLabel
anchors { left: parent.left; right: parent.right }
font.bold: true
color: UbuntuColors.red
color: theme.palette.normal.negative
wrapMode: Text.Wrap
visible: !__busy && text != ""
}
Expand Down Expand Up @@ -88,15 +88,13 @@ Item {
Button {
id: btnCancel
text: i18n.dtr("account-plugins", "Cancel")
height: parent.height
width: (parent.width / 2) - 0.5 * parent.spacing
onClicked: finished()
}
Button {
id: btnContinue
text: i18n.dtr("account-plugins", "Continue")
color: UbuntuColors.green
height: parent.height
color: theme.palette.normal.positive
width: (parent.width / 2) - 0.5 * parent.spacing
onClicked: login()
enabled: !__busy
Expand Down
2 changes: 1 addition & 1 deletion qml/owncloud/Main.qml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import QtQuick 2.0
import QtQuick 2.9
import Ubuntu.OnlineAccounts.Plugin 1.0

Flickable {
Expand Down
8 changes: 3 additions & 5 deletions qml/owncloud/NewAccount.qml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import QtQuick 2.0
import QtQuick 2.9
import Ubuntu.Components 1.3
import Ubuntu.OnlineAccounts 0.1

Expand Down Expand Up @@ -28,7 +28,7 @@ Item {
id: errorLabel
anchors { left: parent.left; right: parent.right }
font.bold: true
color: UbuntuColors.red
color: theme.palette.normal.negative
wrapMode: Text.Wrap
visible: !__busy && text != ""
}
Expand Down Expand Up @@ -87,15 +87,13 @@ Item {
Button {
id: btnCancel
text: i18n.dtr("account-plugins", "Cancel")
height: parent.height
width: (parent.width / 2) - 0.5 * parent.spacing
onClicked: finished()
}
Button {
id: btnContinue
text: i18n.dtr("account-plugins", "Continue")
color: UbuntuColors.green
height: parent.height
color: theme.palette.normal.positive
width: (parent.width / 2) - 0.5 * parent.spacing
onClicked: login()
enabled: !__busy
Expand Down

0 comments on commit 9a731b0

Please sign in to comment.