← Back to team overview

ubuntu-phone team mailing list archive

Re: New ListItems

 

Hi,

Yes, I saw these examples. I will, however, probably still wait until we have proper support from the SDK and go with the old list items for now. That way I always use the current official design which is in line with the core and system apps.
But thank you anyway. :)

Cheers,
Niklas

Am Di, 14. Jul, 2015 um 7:38 schrieb DawnDIY <chenglu1990@xxxxxxxxx>:
Hi Niklas,

I also tried the new ListItem, and try to use it on my app. I found some useful example in my Ubuntu 15.04 at "/usr/lib/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery/NewListItems.qml". Wish the example can help you. :)



2015-07-15 1:11 GMT+08:00 Niklas Wenzel <nikwen.developer@xxxxxxxxx>:
Hi Andrea,

Yes, that really helps! I'll probably wait for your code to arrive in the phone images before updating the ListItems. :)
Thanks a lot for your reply.

Cheers,
Niklas


Am Dienstag, 14. Juli 2015 schrieb Andrea Bernabei :
> Hi Niklas,
> the ListItem is currently just a component which handles the swiping gesture to access leading and trailing actions (and also their layouts), but it doesn't have any predefined content/margins for the content. So, at the moment, it is the app developer who's in charge of creating the layout for the content he wants to show inside the main container of the ListItem > The good news, however, is that the UX Design team has been working on researching a set of layout templates that could be used together with the "base" ListItem, and writing an actual code implementation of those templates is the next task in my TODO list! :)
> Hope that helps :)
> On Tue, Jul 14, 2015 at 5:44 PM, Niklas Wenzel <nikwen.developer@xxxxxxxxx> wrote:
>>
>> Hi all,
>> I'm currently working on updating the terminal app to the latest UI Toolkit version. However, I'm struggling with getting the new ListItems to work. >> Is there any example out there where they are already being used (and where they don't look as aweful as in the examples from the ListItem documentation [1])? I also tried the example from the Captions documentation [2] but I get an error message that the RowLayout component could not be found.
>> Thank you very much in advance.
>> Cheers,
>> Niklas
>>
>> [1] http://developer.ubuntu.com/api/apps/qml/sdk-15.04/Ubuntu.Components.ListItem/ >> [2] http://developer.ubuntu.com/api/apps/qml/sdk-15.04/Ubuntu.Components.Captions/
>> --
>> Mailing list: https://launchpad.net/~ubuntu-phone
>> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~ubuntu-phone
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>

--
Mailing list: https://launchpad.net/~ubuntu-phone
Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp



References