Hi Michael,

I think the Grid layout is the way to go. You could create a custom 
container that overrides some of the public methods from 
MChildrenHandling to add a colored container to each cell. Here's a very 
quick example:

http://tinyurl.com/qh5r78a


Regards,
Daniel

On 20.11.2013 10:43, Micha wrote:
> Hi,
>
> I want to show a table like structure, with the rows containing buttons
> and labels, also the rows should have alternating background colors.
> That's the idea.
> But how to do that? With a normal table it's difficult to have buttons
> as cells, isn't it?
> Another optiion is to use a grid layout, but then it seems difficult to
> add the coloring of the rows (at least I don't see how to do it).
> Another way would be to use a list in which  the elements are custom
> widgets, but then it seems difficult to have the columns equal widths.
>
> At the moment I have the grid layout, but don't know how to colour the
> background of each row...
>
> Any hints or suggestions?
>
> cheers,
>   Michael
>
>
> ------------------------------------------------------------------------------
> Shape the Mobile Experience: Free Subscription
> Software experts and developers: Be at the forefront of tech innovation.
> Intel(R) Software Adrenaline delivers strategic insight and game-changing
> conversations that shape the rapidly evolving mobile landscape. Sign up now.
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to