diff options
author | Papoteur <papoteur@mageia.org> | 2019-01-18 13:13:34 +0100 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2019-01-18 13:13:34 +0100 |
commit | 698234792e0135b029ac95659f30fb79be78eda2 (patch) | |
tree | dda15cb83a0dcbb16f0348ab0c36e61d6d0f7603 /qml | |
parent | fdd64d949f0dfc5447ab7ba03de41ceeb7829fe6 (diff) | |
download | mageiawelcome-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.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 |