We have moved to a new Sailfish OS Forum. Please start new discussions there.
6

[answered] How to add more than 16 folder icons ?

asked 2015-10-13 01:13:00 +0200

Schturman gravatar image

updated 2016-06-28 11:36:04 +0200

jiit gravatar image

Hi to all.
I know the folder icons placed here:

/usr/share/themes/jolla-ambient/meegotouch/z1.0/icons

But if I add more than 16 official icons, phone can't see them. Probably it have some limitation...
Someone know how to remove this limitation (what file to edit) ?
Thanks

edit retag flag offensive close delete

3 Answers

Sort by » oldest newest most voted
3

answered 2015-10-13 01:55:19 +0200

g7 gravatar image

Take a look at the end of /usr/share/lipstick-jolla-home-qt5/launcher/LauncherFolder.qml.

You'll probably want to extend the view height/add a VerticalScrollDecorator to make every icon usable.

edit flag offensive delete publish link more

Comments

Thanks....

Schturman ( 2015-10-13 02:25:00 +0200 )edit

Please, can you explain more about VerticalScrollDecorator (examples), what and where exactly I need to write ?
Because for now I can add only 4 icons because it not scrollable.

Schturman ( 2015-10-13 02:58:44 +0200 )edit

@schturman, first you should define a height, something like:

height: launcherGrid.cellHeight * model / launcherGrid.columns

Then I think a VerticalScrollDecorator {} will work. (Not sure, just want to start brain storm.)

AliN ( 2015-10-13 04:26:16 +0200 )edit

Hehe... tried but probably I put it not in the right place ))

Schturman ( 2015-10-13 04:45:18 +0200 )edit

for now for me work only this:

model: 20

and this:

height: launcherGrid.cellHeight-40

it show correctly 4 new icons :) ... Screenshot here

Schturman ( 2015-10-13 15:00:29 +0200 )edit
2

answered 2015-10-13 01:56:45 +0200

AliN gravatar image

Try this:

/usr/share/lipstick-jolla-home-qt5/launcher/LauncherFolder.qml line 306:

model: 16

Replace it with the new number.

– got it from this patch.

edit flag offensive delete publish link more

Comments

Thanks....

Schturman ( 2015-10-13 02:25:13 +0200 )edit
2

answered 2016-06-27 16:01:52 +0200

Schturman gravatar image

updated 2016-06-27 16:02:44 +0200

Finally I did it but only on v2.0.2.45 that now allow scrolling. The patch is here: https://openrepos.net/content/schturman/add-more-folder-icons
More icons can be added if needed ;)

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
4 followers

Stats

Asked: 2015-10-13 01:13:00 +0200

Seen: 636 times

Last updated: Jun 27 '16