← Back to team overview

ubuntu-touch-coreapps team mailing list archive

Re: [Ubuntu-phone] Heads up! When using AdaptivePageLayout, make sure your Page has a PageHeader.

 

Hi Tim,

Would you please explicitly give us some examples or a blog which are not
working so that we all can fully understand your points? I think it is best
to have a blog with examples to clarify this. As said, some developers may
miss this email and they may use the wrong approach in the design.

Thanks & best regards,
XiaoGuo

On Thu, May 19, 2016 at 10:52 PM, Tim Peeters <tim.peeters@xxxxxxxxxxxxx>
wrote:

> Hello all,
>
> As you probably know, some time ago we introduced the new PageHeader
> component (see
> https://developer.ubuntu.com/en/blog/2016/02/24/pageheader-tutorial/ ).
> An instance of PageHeader can be assigned to Page.header to define the
> header of a Page, and if no Page.header is specified, there is an automatic
> fallback to the old header.
>
> In AdaptivePageLayout (APL), there is also a fallback header in each
> column, but that complicates the APL implementation, it is not fully
> covered by tests, and does not support all the features of the new
> PageHeader, so we will drop support for that soon. We need to do this
> before we move the APL implementation to C++ (the API will be the same, so
> no more changes in app code will be needed for that, but the APL will be
> much faster), so please update your apps now if you are using APL but not
> the new PageHeader.
>
> We may update the deprecated APL column-header fallback to show a red
> border before we remove it, as a final warning. The progress on the removal
> can be followed here:
> https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1583587
>
> Comments/suggestions/discussion can be added to the bug report, or as a
> reply to this e-mail.
>
> Best regards,
> Tim.
>
> --
> 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
>
>


-- 
XiaoGuo, Liu (刘晓国)
Mobile: +86-13911181302

Follow ups

References