[SailfishDevel] Managing screen resolution

Seppo Tiainen seppo.tiainen at gmail.com
Mon Oct 14 09:05:12 UTC 2013


Ok. I made all dimensions of the objects (many!) on the screen dependent on
the resolution. So the last thing to do will be getting the
device-dependent resolution value to QML which should be no problem in the
next version of the SDK, I guess.

Seppo


2013/10/11 Jarko Vihriala <jarko.vihriala at jolla.com>

> Hello,
> This resolution is updated to match real device and this change is
> delivered in next SDK update. This SDK update is already undergoing tests
> so we should be able to release it soon.
>
> In general apps should not use fixed values of device screen but use
> relative bindings.
>
> thanks, Jarko
> ________________________________________
> From: devel-bounces at lists.sailfishos.org [
> devel-bounces at lists.sailfishos.org] on behalf of Seppo Tiainen [
> seppo.tiainen at gmail.com]
> Sent: Friday, October 11, 2013 7:29 AM
> To: devel at lists.sailfishos.org
> Subject: [SailfishDevel] Managing screen resolution
>
> The SailfishOS SDK (Qt5 Alpha) assumes a screen resolution of 854 × 480
> which is the same as on N9. It seems, however, the first Jolla device will
> have a 960 × 540 pixel display. How should one prepare for that? I have
> understood that the current advice is to use 16:9 aspect ratio and no
> hard-coding in number of pixels.
>
> But if you are porting an app that has been hard-coded for N9 screen size,
> what is the best approach?
>
> 1) Will there be a global parameter to fix the 'magnification'? (would be
> great!)
> 2) Is there any other way to fix the resolution easily?
> 3) Should the whole app UI be redesigned? (would be a lot of work...)
>
> Seppo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20131014/feb37755/attachment.html>


More information about the Devel mailing list