diff options
Diffstat (limited to 'qml')
-rw-r--r-- | qml/mw-ui.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml index b379ba2..717ade6 100644 --- a/qml/mw-ui.qml +++ b/qml/mw-ui.qml @@ -5,6 +5,7 @@ import QtQuick.Layouts 1.3 import QtQuick.Controls 1.4 import QtQuick.Controls.Styles 1.4 import QtGraphicalEffects 1 +import QtQuick.Window 2 Rectangle { id: box @@ -532,7 +533,6 @@ Rectangle { if (applicationsListView.contentItem.children[child].naturalwidth > softListRect.installwidth ) { softListRect.installwidth = applicationsListView.contentItem.children[child].naturalwidth } - //console.log(applicationsListView.contentItem.children[child].naturalwidth.implicitWidth, typeof(applicationsListView.contentItem.children[child].naturalwidth)) } appListDM.filterOnGroup = "items"; } @@ -656,6 +656,7 @@ Rectangle { softListRect.installwidth = applicationsListView.contentItem.children[child].naturalwidth } } + console.log("Screen: ", Screen.devicePixelRatio, Screen.pixelDensity) } delegate: Row { spacing: 10 |