QML 7: Convert to use ColumnLayout
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
parent
8681e44c2a
commit
b60c4f33a1
@ -1,5 +1,6 @@
|
|||||||
import org.kde.falkon 1.0 as Falkon
|
import org.kde.falkon 1.0 as Falkon
|
||||||
import QtQuick.Controls 2.3
|
import QtQuick.Controls 2.3
|
||||||
|
import QtQuick.Layouts 1.0
|
||||||
import QtQuick 2.3
|
import QtQuick 2.3
|
||||||
|
|
||||||
Falkon.PluginInterface {
|
Falkon.PluginInterface {
|
||||||
@ -25,18 +26,18 @@ Falkon.PluginInterface {
|
|||||||
shortcut: 'Ctrl+Shift+Alt+S'
|
shortcut: 'Ctrl+Shift+Alt+S'
|
||||||
|
|
||||||
Pane {
|
Pane {
|
||||||
Image {
|
ColumnLayout {
|
||||||
source: 'qrc:/icons/other/startpage.svg'
|
anchors.fill: parent
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
Image {
|
||||||
anchors.left: parent.left
|
Layout.alignment: Qt.AlignHCenter
|
||||||
anchors.right: parent.right
|
source: 'qrc:/icons/other/startpage.svg'
|
||||||
}
|
}
|
||||||
|
|
||||||
Button {
|
Button {
|
||||||
text: i18n('Hello Qml Plugin')
|
Layout.fillWidth: true
|
||||||
anchors.left: parent.left
|
Layout.alignment: Qt.AlignBottom
|
||||||
anchors.right: parent.right
|
text: i18n('Hello Qml Plugin')
|
||||||
anchors.bottom: parent.bottom
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user