Re: [SailfishDevel] Resolution-independent in-app icons

2016-07-22 Thread Kimmo Lindholm
> In theory you could use that to scale application's SVGs on device to target > pixel ratio as post-install step, unfortunately it is ran as root and thus > cannot be allowed for Store apps. Then you wouldn't need to hardcode the > pixel ratios to build time scripts. I'll dig deeper to see

Re: [SailfishDevel] Resolution-independent in-app icons

2016-07-22 Thread Michael Neufing
Hi Joona, how about to just allow post-install and pre-uninstall scripts? Even Nokia allowed them for Harmattan apps in the OVI store... So I think there should be a way to check the scripts in the QA process to ensure that the scripts do nothing harmful. In my wolEj app I used the

Re: [SailfishDevel] Resolution-independent in-app icons

2016-07-22 Thread Joona Petrell
2016 08:25 To: Sailfish OS Developers Subject: Re: [SailfishDevel] Resolution-independent in-app icons > dconf /desktop/sailfish/silica/theme_pixel_ratio > or /desktop/sailfish/silica/theme_icon_subdir It seems that "/desktop/sailfish/silica/theme_icon_subdir" entry doesn

Re: [SailfishDevel] Resolution-independent in-app icons

2016-07-21 Thread Michal
> dconf /desktop/sailfish/silica/theme_pixel_ratio > or /desktop/sailfish/silica/theme_icon_subdir It seems that "/desktop/sailfish/silica/theme_icon_subdir" entry doesn't exists, but "/desktop/sailfish/silica/theme_pixel_ratio" is ok and I will stick to it. Thanks! br, Michal

Re: [SailfishDevel] Resolution-independent in-app icons

2016-07-21 Thread Osmo Salomaa
On 21.07.2016 14:30, Joona Petrell wrote: We use Jolla 1 as our base configuration, other devices are scaled from there. > z1.0 small 32x32, medium 64x64, large 96x96, app icon 86x86 z1.25 small 40x40, medium 80x80, large 120x120, app icon 108x108 z1.5 small 48x48 medium 96x96, large 144x144,

Re: [SailfishDevel] Resolution-independent in-app icons

2016-07-21 Thread Kimmo Lindholm
> Let say I would like to create my custom set of icons for my app. Is there > any good approach to figure out (in C++), which icon set is used in the > system, which Zx.x? dconf /desktop/sailfish/silica/theme_pixel_ratio or /desktop/sailfish/silica/theme_icon_subdir access with e.g. in qml

Re: [SailfishDevel] Resolution-independent in-app icons

2016-07-21 Thread Michal
> > Cheers, > > Joona > > ________ > From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] > on behalf of Nils Jeisecke [njeise...@saltation.de] > Sent: 21 July 2016 11:25 > To: Sailfish OS Developers &g

Re: [SailfishDevel] Resolution-independent in-app icons

2016-07-21 Thread Joona Petrell
ilfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Nils Jeisecke [njeise...@saltation.de] Sent: 21 July 2016 11:25 To: Sailfish OS Developers Subject: Re: [SailfishDevel] Resolution-independent in-app icons Hi, On Wed, Jul 20, 2016 at 10:27 PM, Osmo Salomaa <otsal...@iki.fi>

Re: [SailfishDevel] Resolution-independent in-app icons

2016-07-20 Thread Кожевников Андрей Андреевич
Prefer using svg images. Carrying multiple sizes png images is so 2000. 21.07.2016 02:27, Osmo Salomaa пишет: Hello, SFOS has standard sizes for application launcher icons and Silica has stock icons, whose sizes (I assume) vary by device, but how should I handle custom in-app icons, e.g. a

[SailfishDevel] Resolution-independent in-app icons

2016-07-20 Thread Osmo Salomaa
Hello, SFOS has standard sizes for application launcher icons and Silica has stock icons, whose sizes (I assume) vary by device, but how should I handle custom in-app icons, e.g. a position icon in a map application, so that it would look right on different pixel-density screens? I tried