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 {
|
||||
id: leftDock
|
||||
Controls.SplitView.preferredWidth: 200
|
||||
Controls.SplitView.maximumWidth: 300
|
||||
Controls.SplitView.preferredWidth: Kirigami.Units.largeSpacing * 40
|
||||
Controls.SplitView.maximumWidth: Kirigami.Units.largeSpacing * 60
|
||||
z: 1
|
||||
}
|
||||
|
||||
|
@ -117,8 +117,8 @@ Controls.Page {
|
|||
|
||||
Presenter.Library {
|
||||
id: library
|
||||
Controls.SplitView.preferredWidth: libraryOpen ? 200 : 0
|
||||
Controls.SplitView.maximumWidth: 350
|
||||
Controls.SplitView.preferredWidth: libraryOpen ? Kirigami.Units.largeSpacing * 40 : 0
|
||||
Controls.SplitView.maximumWidth: Kirigami.Units.largeSpacing * 60
|
||||
visible: libraryOpen ? true : false
|
||||
}
|
||||
|
||||
|
|
|
@ -79,8 +79,8 @@ FocusScope {
|
|||
|
||||
Kirigami.Icon {
|
||||
source: "arrow-left"
|
||||
implicitWidth: 100
|
||||
implicitHeight: 200
|
||||
implicitWidth: Kirigami.Units.largeSpacing * 20
|
||||
implicitHeight: Kirigami.Units.largeSpacing * 40
|
||||
anchors.right: previewSlide.left
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
/* Layout.alignment: Qt.AlignRight */
|
||||
|
@ -93,7 +93,7 @@ FocusScope {
|
|||
|
||||
Presenter.Slide {
|
||||
id: previewSlide
|
||||
implicitWidth: 700
|
||||
implicitWidth: Kirigami.Units.largeSpacing * 100
|
||||
implicitHeight: width / 16 * 9
|
||||
/* minimumWidth: 300 */
|
||||
anchors.centerIn: parent
|
||||
|
@ -110,8 +110,8 @@ FocusScope {
|
|||
|
||||
Kirigami.Icon {
|
||||
source: "arrow-right"
|
||||
implicitWidth: 100
|
||||
implicitHeight: 200
|
||||
implicitWidth: Kirigami.Units.largeSpacing * 20
|
||||
implicitHeight: Kirigami.Units.largeSpacing * 40
|
||||
anchors.left: previewSlide.right
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
/* Layout.alignment: Qt.AlignLeft */
|
||||
|
|
|
@ -88,7 +88,7 @@ Item {
|
|||
Kirigami.AbstractListItem {
|
||||
id: serviceListItem
|
||||
implicitWidth: serviceItemList.width
|
||||
height: 30
|
||||
height: Kirigami.Units.gridUnit * 2
|
||||
|
||||
DropArea {
|
||||
id: serviceDrop
|
||||
|
@ -261,7 +261,7 @@ Item {
|
|||
anchors.left: parent.left
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.leftMargin: 5
|
||||
width: 20
|
||||
/* width: 20 */
|
||||
listItem: serviceListItem
|
||||
listView: serviceItemList
|
||||
onMoveRequested: serviceItemModel.moveRows(oldIndex,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue