fix layout of NetworkSettingsSheet

This commit is contained in:
Marco Martin 2014-12-04 13:41:54 +01:00
parent 1b62f963c9
commit fe17a804bc
2 changed files with 27 additions and 18 deletions

View file

@ -31,7 +31,8 @@
*/ */
import QtQuick 2.0 import QtQuick 2.0
import QtQuick.Controls 1.2 import org.kde.plasma.components 2.0
import QtQuick.Layouts 1.1
import MeeGo.Connman 0.2 import MeeGo.Connman 0.2
import "mustache.js" as M import "mustache.js" as M
@ -65,11 +66,17 @@ Item {
} }
} }
RowLayout {
anchors {
horizontalCenter: parent.horizontalCenter
bottom: parent.bottom
}
Button { Button {
text: "Reject" text: "Reject"
onClicked: { onClicked: {
userAgent.sendUserReply({}); userAgent.sendUserReply({});
scanTimer.running = true; scanTimer.running = true;
stackView.pop();
} }
} }
@ -83,6 +90,8 @@ Item {
} }
scanTimer.running = true; scanTimer.running = true;
userAgent.sendUserReply(fields); userAgent.sendUserReply(fields);
stackView.pop();
}
} }
} }

View file

@ -1,6 +1,6 @@
[Desktop Entry] [Desktop Entry]
Name=Wireless Name=Wireless
Comment=Connect to a wireless network Comment=Wireless networks
Encoding=UTF-8 Encoding=UTF-8
Type=Service Type=Service