making some sizing differences to be using Kirigami.Units
This commit is contained in:
parent
b858fcf9c1
commit
daa7e9e192
3 changed files with 11 additions and 11 deletions
|
@ -73,8 +73,8 @@ Controls.Page {
|
||||||
|
|
||||||
Presenter.ServiceList {
|
Presenter.ServiceList {
|
||||||
id: leftDock
|
id: leftDock
|
||||||
Controls.SplitView.preferredWidth: 200
|
Controls.SplitView.preferredWidth: Kirigami.Units.largeSpacing * 40
|
||||||
Controls.SplitView.maximumWidth: 300
|
Controls.SplitView.maximumWidth: Kirigami.Units.largeSpacing * 60
|
||||||
z: 1
|
z: 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -117,8 +117,8 @@ Controls.Page {
|
||||||
|
|
||||||
Presenter.Library {
|
Presenter.Library {
|
||||||
id: library
|
id: library
|
||||||
Controls.SplitView.preferredWidth: libraryOpen ? 200 : 0
|
Controls.SplitView.preferredWidth: libraryOpen ? Kirigami.Units.largeSpacing * 40 : 0
|
||||||
Controls.SplitView.maximumWidth: 350
|
Controls.SplitView.maximumWidth: Kirigami.Units.largeSpacing * 60
|
||||||
visible: libraryOpen ? true : false
|
visible: libraryOpen ? true : false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -79,8 +79,8 @@ FocusScope {
|
||||||
|
|
||||||
Kirigami.Icon {
|
Kirigami.Icon {
|
||||||
source: "arrow-left"
|
source: "arrow-left"
|
||||||
implicitWidth: 100
|
implicitWidth: Kirigami.Units.largeSpacing * 20
|
||||||
implicitHeight: 200
|
implicitHeight: Kirigami.Units.largeSpacing * 40
|
||||||
anchors.right: previewSlide.left
|
anchors.right: previewSlide.left
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
/* Layout.alignment: Qt.AlignRight */
|
/* Layout.alignment: Qt.AlignRight */
|
||||||
|
@ -93,7 +93,7 @@ FocusScope {
|
||||||
|
|
||||||
Presenter.Slide {
|
Presenter.Slide {
|
||||||
id: previewSlide
|
id: previewSlide
|
||||||
implicitWidth: 700
|
implicitWidth: Kirigami.Units.largeSpacing * 100
|
||||||
implicitHeight: width / 16 * 9
|
implicitHeight: width / 16 * 9
|
||||||
/* minimumWidth: 300 */
|
/* minimumWidth: 300 */
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
@ -110,8 +110,8 @@ FocusScope {
|
||||||
|
|
||||||
Kirigami.Icon {
|
Kirigami.Icon {
|
||||||
source: "arrow-right"
|
source: "arrow-right"
|
||||||
implicitWidth: 100
|
implicitWidth: Kirigami.Units.largeSpacing * 20
|
||||||
implicitHeight: 200
|
implicitHeight: Kirigami.Units.largeSpacing * 40
|
||||||
anchors.left: previewSlide.right
|
anchors.left: previewSlide.right
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
/* Layout.alignment: Qt.AlignLeft */
|
/* Layout.alignment: Qt.AlignLeft */
|
||||||
|
|
|
@ -88,7 +88,7 @@ Item {
|
||||||
Kirigami.AbstractListItem {
|
Kirigami.AbstractListItem {
|
||||||
id: serviceListItem
|
id: serviceListItem
|
||||||
implicitWidth: serviceItemList.width
|
implicitWidth: serviceItemList.width
|
||||||
height: 30
|
height: Kirigami.Units.gridUnit * 2
|
||||||
|
|
||||||
DropArea {
|
DropArea {
|
||||||
id: serviceDrop
|
id: serviceDrop
|
||||||
|
@ -261,7 +261,7 @@ Item {
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
anchors.leftMargin: 5
|
anchors.leftMargin: 5
|
||||||
width: 20
|
/* width: 20 */
|
||||||
listItem: serviceListItem
|
listItem: serviceListItem
|
||||||
listView: serviceItemList
|
listView: serviceItemList
|
||||||
onMoveRequested: serviceItemModel.moveRows(oldIndex,
|
onMoveRequested: serviceItemModel.moveRows(oldIndex,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue