Re: [SailfishDevel] Managing screen resolution

2013-10-10 Thread FIlip Kłębczyk

W dniu 11.10.2013 06:29, Seppo Tiainen pisze:

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...)


I suggest you to use Theme component and values from there (like 
Theme.itemSize*). That way you are assuring your app will be resolution 
independent (you don't know what kind of resolution will be used on 
other Jolla devices in future).


See:
https://sailfishos.org/sailfish-silica/qml-sailfishsilica-theme.html

Regards,
Filip

___
SailfishOS.org Devel mailing list

[SailfishDevel] Managing screen resolution

2013-10-10 Thread Seppo Tiainen
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
___
SailfishOS.org Devel mailing list

[SailfishDevel] Sailfish User Interface: Tabs

2013-10-10 Thread christopher . lamb

Hi all

I can't find anything in the Sailfish Silica component set that  
resembles a tab.


So the question is: Will a tab like component be coming in a later  
release of Silica?


Or is there an alternative navigation concept I should be using in  
preference to tabs. If so what is it?


Chris


___
SailfishOS.org Devel mailing list


[SailfishDevel] System management is locked by the application with pid 5695 (zypper) - Win 7 (behind proxy)

2013-10-10 Thread Simon Bolek
hi there!

When I try to manage->refresh the target SailfishOS-i486-x86 i get the
following error:

+++
Operation Progress
 finished: Refreshing target repos
SailfishOS-i486-x86 - exited with status 4

System management is locked by the application with pid 5695 (zypper).
Close this application before trying again.
+++

I am behind the Proxy and already set up the http_proxy in global variables
like:
http://:@:

When I try to manage->find a package e.g. ofono, i get:

+++
NoMethodError at /C/targets/add
undefined method `include?' for nil:NilClass
file: sdk_helper.rb location: toolchain_exists line: 210
+++

Are there issues when working behind proxy / win 7?

br
simon :-)
___
SailfishOS.org Devel mailing list