← Back to team overview

ubuntu-phone team mailing list archive

Re: New ListItems

 

On Tue, Jul 14, 2015 at 6:52 PM, Aaron Honeycutt <honeycuttaaron3@xxxxxxxxx>
wrote:

>  Andrea, is there any code that App Devs can use to creating layouts? Or
> should we wait on you?
>
> Hi :)

you can use the standard RowLayout/ColumnLayout and all the components like
that which are offered by QtQuick, together with the anchoring system ;)

That's what I'm going to use after all :) (after making sure they don't
introduce a big overhead, performance wise)


> On 07/14/2015 01:11 PM, Niklas Wenzel wrote:
>
> 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