← Back to team overview

ubuntu-phone team mailing list archive

Re: [Design] Designing for phone and tablet

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bruno,

Please see my reply in-line below:

On 02/25/2013 09:44 AM, Bruno Girin wrote:
> Calum,
> 
> I completely agree that we should use responsive layout
> techniques. Having done that in Qt before (on my old N900), here
> are the sort of things I would be looking for in order to be able
> to implement this properly.
> 
> Expose what is in the QScreen class, in particular: - availableSize
> (converted to grid units) both for full screen and side-stage -
> isLandscape / isPortrait / orientation - orientationChanged signal

I am working on implementing all things orientation for the QScreen
class as I write this. It should be available for apps to take
advantage of in the very near future.

> 
> Provide containers that can have their layout orientation changed
> at runtime. Qt's QBoxLayout can do that using its setDirection
> method but the only layout components that I know of in QML are
> Column, Row and Grid that are presumably implemented using
> QVBoxLayout, QHBoxLayout and QGridLayout, all of which have a fixed
> orientation.

We've had some discussions about doing this type of thing, but haven't
come to any concrete decisions yet. I agree with the premise of what
you just said, it'll just be a matter of picking a strategy that works
for the majority of the use-cases.

> 
> Cheers,
> 
> Bruno
> 

Thanks,

Jim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJRK3ogAAoJENCYE0OpVkFTreoH/RRFSKU+KmAHuyudvTbXFT7w
Ixh+Uve7H3kMGiPveYbOLxbCH8H3dmfhotUhCFqvnD40rjSrClWkS9Y8mzjO8TUS
ujA6JQ3P5CSsNWZn88yRgCnEMw2JxLuxrS3wgAicaXcCgin8XdX5mGHDTYJ2ejrJ
nIB/T0XXvTLVsxN0WSfhAUJlc66rYKIHBj9TjsLP08P8ggxyxLIEKyJUeN5gg4jS
hxP+UBxCT8f4cTu04QdpNXh0sjZFvykN+nxFpZjl9VyxbRrEAfICaVQU9ZuuE6q7
/BSdALRieEnZ0Mhx3OFW8U7TpU/U7jSMa+5AmBq4xVhsa69aEaWiQD1C7IKGv7o=
=ILR0
-----END PGP SIGNATURE-----


References