The distinguish between Calculator and Webbrowser is already implemented in Browser.
There is formFactor == "Mobile", "Tablet" and "Desktop". readonly property string _formFactor: (Screen.width >= units.gu(60)) ? "Tablet" : "Mobile"
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/webbrowser-app/vivid/view/head:/src/Ubuntu/Components/Extras/Browser/UbuntuWebView01.qml
Maybe we should do in similar way but we could distinguish between "Mobile" and "Desktop"?
« Back to merge proposal
The distinguish between Calculator and Webbrowser is already implemented in Browser.
There is formFactor == "Mobile", "Tablet" and "Desktop".
readonly property string _formFactor: (Screen.width >= units.gu(60)) ? "Tablet" : "Mobile"
http:// bazaar. launchpad. net/~ubuntu- branches/ ubuntu/ vivid/webbrowse r-app/vivid/ view/head: /src/Ubuntu/ Components/ Extras/ Browser/ UbuntuWebView01 .qml
Maybe we should do in similar way but we could distinguish between "Mobile" and "Desktop"?