summaryrefslogtreecommitdiffstats
path: root/qml
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2019-01-18 13:13:34 +0100
committerPapoteur <papoteur@mageia.org>2019-01-18 13:13:34 +0100
commit698234792e0135b029ac95659f30fb79be78eda2 (patch)
treedda15cb83a0dcbb16f0348ab0c36e61d6d0f7603 /qml
parentfdd64d949f0dfc5447ab7ba03de41ceeb7829fe6 (diff)
downloadmageiawelcome-698234792e0135b029ac95659f30fb79be78eda2.tar
mageiawelcome-698234792e0135b029ac95659f30fb79be78eda2.tar.gz
mageiawelcome-698234792e0135b029ac95659f30fb79be78eda2.tar.bz2
mageiawelcome-698234792e0135b029ac95659f30fb79be78eda2.tar.xz
mageiawelcome-698234792e0135b029ac95659f30fb79be78eda2.zip
Add log for screen characteristics
Diffstat (limited to 'qml')
-rw-r--r--qml/mw-ui.qml3
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