[ui] Replacement of Controls1 SplitView to Controls2 SplitView

This commit is contained in:
Aurore LAFAURIE 2024-09-17 18:32:59 +02:00
parent 34e3847cea
commit ccd88c4646
8 changed files with 190 additions and 196 deletions

View file

@ -1,6 +1,5 @@
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Controls 1.4 as Controls1 // For SplitView
import QtQuick.Layouts 1.11
import Utils 1.0
import MaterialIcons 2.2
@ -16,7 +15,7 @@ Page {
}
}
Controls1.SplitView {
SplitView {
id: splitView
anchors.fill: parent
@ -25,8 +24,8 @@ Page {
id: leftColumn
height: parent.height
Layout.minimumWidth: 200
Layout.maximumWidth: 300
SplitView.minimumWidth: 200
SplitView.maximumWidth: 300
AnimatedImage {
id: logo