Created
August 20, 2018 14:16
-
-
Save a-andreyev/5cf78f02f959fb3f40aa6c7089ab762b to your computer and use it in GitHub Desktop.
sailfish Screen.sizeCategory and Theme.pixelRatio:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import QtQuick 2.0 | |
import Sailfish.Silica 1.0 | |
Item { | |
Component.onCompleted: { | |
console.log("Screen.sizeCategory:",Screen.sizeCategory) | |
console.log("Theme.pixelRatio:",Theme.pixelRatio) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment