← Back to team overview

ubuntu-phone team mailing list archive

Re: [qml] Elements overlapping

 

On 26-09-2013 15:46, Sam Bull wrote:
> On Thu, 2013-09-26 at 20:05 +0200, Olivier Tilloy wrote:
>> If you don’t explicitly set a height for the ListView, indeed its
>> height is 0.
>> Column doesn’t resize its children, it merely positions them.
> OK, so, how do I put the send button below the ListView, if I don't know
> the size ahead of time? Do I have to manually set the height of the
> ListView with some Javascript, seeing as I won't know how many
> components are in the ListView?
ListView allows you to place contents in its header and footer (check
the properties with the same names), so you could place the send button
in the footer of the ListView.

Cheers

Boiko



References