the sizes of things were wrong with a bad env variable
This commit is contained in:
parent
8ec7c16e20
commit
29348d59e7
4 changed files with 9 additions and 13 deletions
|
@ -40,7 +40,6 @@ Item {
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
elide: Text.ElideLeft
|
elide: Text.ElideLeft
|
||||||
text: "Songs"
|
text: "Songs"
|
||||||
font.pixelSize: Kirigami.Units.gridUnit
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Controls.Label {
|
Controls.Label {
|
||||||
|
@ -49,7 +48,6 @@ Item {
|
||||||
verticalCenter: songLabel.verticalCenter
|
verticalCenter: songLabel.verticalCenter
|
||||||
leftMargin: 15}
|
leftMargin: 15}
|
||||||
text: songsqlmodel.rowCount()
|
text: songsqlmodel.rowCount()
|
||||||
font.pixelSize: Kirigami.Units.gridUnit
|
|
||||||
color: Kirigami.Theme.disabledTextColor
|
color: Kirigami.Theme.disabledTextColor
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -73,8 +73,8 @@ Controls.Page {
|
||||||
|
|
||||||
Presenter.ServiceList {
|
Presenter.ServiceList {
|
||||||
id: leftDock
|
id: leftDock
|
||||||
Controls.SplitView.preferredWidth: Kirigami.Units.largeSpacing * 40
|
Controls.SplitView.preferredWidth: Kirigami.Units.largeSpacing * 30
|
||||||
Controls.SplitView.maximumWidth: Kirigami.Units.largeSpacing * 60
|
Controls.SplitView.maximumWidth: Kirigami.Units.largeSpacing * 50
|
||||||
z: 1
|
z: 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -117,8 +117,8 @@ Controls.Page {
|
||||||
|
|
||||||
Presenter.Library {
|
Presenter.Library {
|
||||||
id: library
|
id: library
|
||||||
Controls.SplitView.preferredWidth: libraryOpen ? Kirigami.Units.largeSpacing * 40 : 0
|
Controls.SplitView.preferredWidth: libraryOpen ? Kirigami.Units.largeSpacing * 30 : 0
|
||||||
Controls.SplitView.maximumWidth: Kirigami.Units.largeSpacing * 60
|
Controls.SplitView.maximumWidth: Kirigami.Units.largeSpacing * 50
|
||||||
visible: libraryOpen ? true : false
|
visible: libraryOpen ? true : false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -79,8 +79,8 @@ FocusScope {
|
||||||
|
|
||||||
Kirigami.Icon {
|
Kirigami.Icon {
|
||||||
source: "arrow-left"
|
source: "arrow-left"
|
||||||
implicitWidth: Kirigami.Units.largeSpacing * 20
|
implicitWidth: Kirigami.Units.gridUnit * 7
|
||||||
implicitHeight: Kirigami.Units.largeSpacing * 40
|
implicitHeight: Kirigami.Units.gridUnit * 10
|
||||||
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: Kirigami.Units.largeSpacing * 100
|
implicitWidth: Kirigami.Units.gridUnit * 32
|
||||||
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: Kirigami.Units.largeSpacing * 20
|
implicitWidth: Kirigami.Units.gridUnit * 7
|
||||||
implicitHeight: Kirigami.Units.largeSpacing * 40
|
implicitHeight: Kirigami.Units.gridUnit * 10
|
||||||
anchors.left: previewSlide.right
|
anchors.left: previewSlide.right
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
/* Layout.alignment: Qt.AlignLeft */
|
/* Layout.alignment: Qt.AlignLeft */
|
||||||
|
|
|
@ -154,7 +154,6 @@ Item {
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
anchors.leftMargin: 5
|
anchors.leftMargin: 5
|
||||||
text: name
|
text: name
|
||||||
font.pixelSize: Kirigami.Units.gridUnit
|
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
width: parent.width - trailing.width - dragHandle.width - 15
|
width: parent.width - trailing.width - dragHandle.width - 15
|
||||||
color: {
|
color: {
|
||||||
|
@ -171,7 +170,6 @@ Item {
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
anchors.rightMargin: 5
|
anchors.rightMargin: 5
|
||||||
font.pixelSize: Kirigami.Units.gridUnit
|
|
||||||
text: type
|
text: type
|
||||||
color: {
|
color: {
|
||||||
if (selected ||
|
if (selected ||
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue