diff options
author | Kimmo Ollila <kimmo.ollila@theqtcompany.com> | 2016-05-11 12:52:49 +0300 |
---|---|---|
committer | Kimmo Ollila <kimmo.ollila@theqtcompany.com> | 2016-05-13 13:11:35 +0000 |
commit | 15ac9af2680d63321403f49eca03cdb192851bd3 (patch) | |
tree | dcc08c12c6c6ac8bc6a5cb67e45016df349a5ac5 /src/settingsui/network/WiredSettings.qml | |
parent | 046ad79065faff555168bae13e3414b23b0521a8 (diff) |
Separated SettingsUI to its own plugin.
Change-Id: I7893231ab2d18270183f9838456d0e48cdc63186
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
Diffstat (limited to 'src/settingsui/network/WiredSettings.qml')
-rw-r--r-- | src/settingsui/network/WiredSettings.qml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/settingsui/network/WiredSettings.qml b/src/settingsui/network/WiredSettings.qml index 9359484..294e1a2 100644 --- a/src/settingsui/network/WiredSettings.qml +++ b/src/settingsui/network/WiredSettings.qml @@ -35,9 +35,7 @@ ****************************************************************************/ import QtQuick 2.6 import QtQuick.Layouts 1.3 -import Qt.labs.controls 1.0 -import Qt.labs.controls.material 1.0 -import Qt.labs.controls.universal 1.0 +import QtQuick.Controls 2.0 import com.theqtcompany.settings.network 1.0 Item { @@ -132,10 +130,14 @@ Item { onAccepted: if (text.length > 0) service.ipv4.gateway = text } Label { + Layout.alignment: Qt.AlignTop text: qsTr("DNS server: ") } - Row { + Column { spacing: 10 + Layout.fillWidth: true + Layout.alignment: Qt.AlignTop + Repeater { model: service.nameservers |