diff options
Diffstat (limited to 'qml/LastfmLoginSheet.qml')
-rw-r--r-- | qml/LastfmLoginSheet.qml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/qml/LastfmLoginSheet.qml b/qml/LastfmLoginSheet.qml index 21e50c7..ed9ea5b 100644 --- a/qml/LastfmLoginSheet.qml +++ b/qml/LastfmLoginSheet.qml @@ -51,7 +51,7 @@ MySheet { acceptButtonText: "Log in" rejectButtonText: "Cancel" platformStyle: SheetStyle { - headerBackground: "images/meegotouch-sheet-header-inverted-background.png" + headerBackground: theme.inverted ? "images/meegotouch-sheet-header-inverted-background.png" : "image://theme/meegotouch-sheet-header-background" } content: Column { @@ -74,7 +74,10 @@ MySheet { TextField { id: username placeholderText: "Username" - width: parent.width + anchors.left: parent.left + anchors.leftMargin: UI.MARGIN_XLARGE + anchors.right: parent.right + anchors.rightMargin: UI.MARGIN_XLARGE platformStyle: TextFieldStyle { backgroundSelected: "image://theme/" + appWindow.themeColor + "-meegotouch-textedit-background-selected" } @@ -101,7 +104,10 @@ MySheet { id: password placeholderText: "Password" echoMode: TextInput.Password - width: parent.width + anchors.left: parent.left + anchors.leftMargin: UI.MARGIN_XLARGE + anchors.right: parent.right + anchors.rightMargin: UI.MARGIN_XLARGE platformStyle: TextFieldStyle { backgroundSelected: "image://theme/" + appWindow.themeColor + "-meegotouch-textedit-background-selected" } |