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
|
||||
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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue