Commit 635de465 authored by Dami Erny's avatar Dami Erny 🐜 Committed by Nate Graham
Browse files

Shrinks the minimums from the 1110 by 600 to 720 by 393 (which keeps the...

Shrinks the minimums from the 1110 by 600 to 720 by 393 (which keeps the aspect ratio of the absolute minimums) Allows for neat slotting on a 1080 or 720 pixel wide monitor( vertical orientation of a 1080p or 720p monitor has horizontal res of 1080 or 720).
parent 169e301b
...@@ -24,11 +24,11 @@ import Qt.labs.settings 1.0 ...@@ -24,11 +24,11 @@ import Qt.labs.settings 1.0
ApplicationWindow { ApplicationWindow {
id: mainWindow id: mainWindow
visible: true visible: true
minimumWidth: 700 minimumWidth: 590
minimumHeight: 600 property int minHeight: 320
LayoutMirroring.enabled: Qt.application.layoutDirection == Qt.RightToLeft LayoutMirroring.enabled: Qt.application.layoutDirection == Qt.RightToLeft
LayoutMirroring.childrenInherit: true LayoutMirroring.childrenInherit: true
...@@ -92,8 +92,8 @@ ApplicationWindow { ...@@ -92,8 +92,8 @@ ApplicationWindow {
property int x property int x
property int y property int y
property int width : 1100 property int width : 900
property int height : 600 property int height : 650
property var playListState property var playListState
...@@ -277,7 +277,7 @@ ApplicationWindow { ...@@ -277,7 +277,7 @@ ApplicationWindow {
changes: [ changes: [
PropertyChanges { PropertyChanges {
target: mainWindow target: mainWindow
minimumHeight: 600 minimumHeight: mainWindow.minHeight * 1.5
explicit: true explicit: true
}, },
PropertyChanges { PropertyChanges {
...@@ -293,7 +293,7 @@ ApplicationWindow { ...@@ -293,7 +293,7 @@ ApplicationWindow {
changes: [ changes: [
PropertyChanges { PropertyChanges {
target: mainWindow target: mainWindow
minimumHeight: 120 + elisaTheme.mediaPlayerControlHeight minimumHeight: mainWindow.minHeight
explicit: true explicit: true
}, },
PropertyChanges { PropertyChanges {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment