ubuntu-touch-coreapps team mailing list archive
-
ubuntu-touch-coreapps team
-
Mailing list archive
-
Message #00481
Re: [RSS Reader] Index0 and 1?
Hi Roman,
I asked Florian about the icons, and he replied:
-----
An icon theme exists and is installed by default on the phone. The package
is ubuntu-mobile-icons which you can see the content of in
/usr/share/icons/ubuntu-mobile/
A general purpose Icon class [1] exists in the toolkit so that you can
access them.
However in many cases you are already using a class that asks for an
'iconSource', for example in the toolbar with ToolbarButton [2]. The
'iconSource' property unfortunately does not work like the 'name' property
of Icon. Instead of an icon name it requires a path to an image file on
disk. Later on we will systematically add a property 'iconName' next to
'iconSource' that will work the same way as 'name' of Icon.
It will look something like:
ToolbarButton {
iconName: "search"
}
For now there is a workaround:
ToolbarButton {
iconSource: "image://gicon/search"
}
[1]
http://developer.ubuntu.com/api/devel/ubuntu-13.10/qml/ui-toolkit/qml-ubuntu-components0-icon.html
[2]
http://developer.ubuntu.com/api/devel/ubuntu-13.10/qml/ui-toolkit/qml-ubuntu-components0-toolbarbutton.html
------
Hope that helps!
Lisette
On Tue, Jul 16, 2013 at 9:49 PM, Roman Shchekin <mrqtros@xxxxxxxxx> wrote:
> Hi all!
>
> Lisette, where we can find icons? :)
> We are still using the same "avatar.png" for all toolbar items, I already
> hate it :D
> Please, make me happy :))
>
> BR,
> Roman!
>
>
> 2013/7/16 Joey Chan <qqworini@xxxxxxxxx>
>
>> Opsss... just two button for testing, forgot to remove them :P
>>
>>
>> 2013/7/16 Lisette Slegers <lisette.slegers@xxxxxxxxxxxxx>
>>
>>> Hi Joey!
>>>
>>> I was just looking at the latest RSS reader branch (which is awesome!),
>>> and I was wondering about 2 toolbar actions in the article view: Index 0
>>> and Index 1. See screenshot:
>>> https://docs.google.com/file/d/0B5ZePTRp2C_JTm9UaFJua05QXzQ/edit?usp=sharing
>>>
>>> What are they?
>>>
>>> Thanks,
>>> Lisette
>>>
>>
>>
>> --
>> Mailing list: https://launchpad.net/~ubuntu-touch-coreapps
>> Post to : ubuntu-touch-coreapps@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~ubuntu-touch-coreapps
>> More help : https://help.launchpad.net/ListHelp
>>
>>
>
Follow ups
References