← Back to team overview

ubuntu-phone team mailing list archive

Re: New ListItems

 

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

Follow ups

References