diff --git a/src/qml/presenter/Library.qml b/src/qml/presenter/Library.qml index 33ad83e..36d65c3 100644 --- a/src/qml/presenter/Library.qml +++ b/src/qml/presenter/Library.qml @@ -40,7 +40,6 @@ Item { anchors.verticalCenter: parent.verticalCenter elide: Text.ElideLeft text: "Songs" - font.pixelSize: Kirigami.Units.gridUnit } Controls.Label { @@ -49,7 +48,6 @@ Item { verticalCenter: songLabel.verticalCenter leftMargin: 15} text: songsqlmodel.rowCount() - font.pixelSize: Kirigami.Units.gridUnit color: Kirigami.Theme.disabledTextColor } diff --git a/src/qml/presenter/MainWindow.qml b/src/qml/presenter/MainWindow.qml index 4ed9082..ec8eadc 100644 --- a/src/qml/presenter/MainWindow.qml +++ b/src/qml/presenter/MainWindow.qml @@ -73,8 +73,8 @@ Controls.Page { Presenter.ServiceList { id: leftDock - Controls.SplitView.preferredWidth: Kirigami.Units.largeSpacing * 40 - Controls.SplitView.maximumWidth: Kirigami.Units.largeSpacing * 60 + Controls.SplitView.preferredWidth: Kirigami.Units.largeSpacing * 30 + Controls.SplitView.maximumWidth: Kirigami.Units.largeSpacing * 50 z: 1 } @@ -117,8 +117,8 @@ Controls.Page { Presenter.Library { id: library - Controls.SplitView.preferredWidth: libraryOpen ? Kirigami.Units.largeSpacing * 40 : 0 - Controls.SplitView.maximumWidth: Kirigami.Units.largeSpacing * 60 + Controls.SplitView.preferredWidth: libraryOpen ? Kirigami.Units.largeSpacing * 30 : 0 + Controls.SplitView.maximumWidth: Kirigami.Units.largeSpacing * 50 visible: libraryOpen ? true : false } diff --git a/src/qml/presenter/Presentation.qml b/src/qml/presenter/Presentation.qml index ba1810c..d55fe26 100644 --- a/src/qml/presenter/Presentation.qml +++ b/src/qml/presenter/Presentation.qml @@ -79,8 +79,8 @@ FocusScope { Kirigami.Icon { source: "arrow-left" - implicitWidth: Kirigami.Units.largeSpacing * 20 - implicitHeight: Kirigami.Units.largeSpacing * 40 + implicitWidth: Kirigami.Units.gridUnit * 7 + implicitHeight: Kirigami.Units.gridUnit * 10 anchors.right: previewSlide.left anchors.verticalCenter: parent.verticalCenter /* Layout.alignment: Qt.AlignRight */ @@ -93,7 +93,7 @@ FocusScope { Presenter.Slide { id: previewSlide - implicitWidth: Kirigami.Units.largeSpacing * 100 + implicitWidth: Kirigami.Units.gridUnit * 32 implicitHeight: width / 16 * 9 /* minimumWidth: 300 */ anchors.centerIn: parent @@ -110,8 +110,8 @@ FocusScope { Kirigami.Icon { source: "arrow-right" - implicitWidth: Kirigami.Units.largeSpacing * 20 - implicitHeight: Kirigami.Units.largeSpacing * 40 + implicitWidth: Kirigami.Units.gridUnit * 7 + implicitHeight: Kirigami.Units.gridUnit * 10 anchors.left: previewSlide.right anchors.verticalCenter: parent.verticalCenter /* Layout.alignment: Qt.AlignLeft */ diff --git a/src/qml/presenter/ServiceList.qml b/src/qml/presenter/ServiceList.qml index eb56c29..1c996cb 100644 --- a/src/qml/presenter/ServiceList.qml +++ b/src/qml/presenter/ServiceList.qml @@ -154,7 +154,6 @@ Item { anchors.verticalCenter: parent.verticalCenter anchors.leftMargin: 5 text: name - font.pixelSize: Kirigami.Units.gridUnit elide: Text.ElideRight width: parent.width - trailing.width - dragHandle.width - 15 color: { @@ -171,7 +170,6 @@ Item { anchors.right: parent.right anchors.verticalCenter: parent.verticalCenter anchors.rightMargin: 5 - font.pixelSize: Kirigami.Units.gridUnit text: type color: { if (selected ||