minor ui changes

This commit is contained in:
Chris Cochrun 2022-03-25 06:37:42 -05:00
parent e4768b44be
commit 7c1ff53074
2 changed files with 4 additions and 6 deletions

View file

@ -52,17 +52,15 @@ Controls.Page {
Presenter.LeftDock { Presenter.LeftDock {
id: leftDock id: leftDock
Controls.SplitView.fillHeight: true
Controls.SplitView.preferredWidth: 200 Controls.SplitView.preferredWidth: 200
Controls.SplitView.maximumWidth: 300 Controls.SplitView.maximumWidth: 300
} }
Item { Item {
id: mainPageArea id: mainPageArea
Controls.SplitView.fillHeight: true
Controls.SplitView.fillWidth: true Controls.SplitView.fillWidth: true
Controls.SplitView.preferredWidth: 500 /* Controls.SplitView.preferredWidth: 500 */
Controls.SplitView.minimumWidth: 200 Controls.SplitView.minimumWidth: 100
Presenter.Presentation { Presenter.Presentation {
id: presentation id: presentation
@ -83,7 +81,6 @@ Controls.Page {
Presenter.Library { Presenter.Library {
id: library id: library
Controls.SplitView.fillHeight: true
Controls.SplitView.preferredWidth: libraryOpen ? 200 : 0 Controls.SplitView.preferredWidth: libraryOpen ? 200 : 0
Controls.SplitView.maximumWidth: 350 Controls.SplitView.maximumWidth: 350
} }

View file

@ -76,8 +76,9 @@ Item {
Presenter.Slide { Presenter.Slide {
id: previewSlide id: previewSlide
Layout.preferredWidth: 900 Layout.preferredWidth: 700
Layout.preferredHeight: width / 16 * 9 Layout.preferredHeight: width / 16 * 9
Layout.minimumWidth: 300
Layout.alignment: Qt.AlignCenter Layout.alignment: Qt.AlignCenter
textSize: width / 15 textSize: width / 15
text: root.text text: root.text