On 01.10.2013 10:35, Sam Bull wrote:
> When running our app on the phone, it uses the size specified in the
> QML, and the app is displayed too small or too big for the phone screen.
> 
> We are running this through C++, so my first thought is that qmlscene
> overrides the sizes (as we are using the same size as clock-app). If
> that's correct, is there something we need to do in the C++ to get it to
> override the size and display correctly?

http://qt-project.org/doc/qt-5.0/qtquick/qquickview.html#resizeMode-prop

Should help. You want SizeRootObjectToView, probably.

-- 
Michał (Saviq) Sawicz <michal.saw...@canonical.com>
Canonical Services Ltd.

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to     : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp

Reply via email to