← Back to team overview

touch-packages team mailing list archive

[Bug 1492343] Re: Pages hidden in an AdpativePageLayout stack have their width changed to zero

 

Zsombi what do you mean with "connected badly"?

The page fills its parent, but that is what you want, also when it is
(visible) inside the AdaptivePageLayout. You should not set a fixed
width because the columns can be resized (by changing the window size,
changing the column layouts, or directly changing the column widths by
dragging their edges), and the Pages need to keep filling their column.

Is it not a solution if the Page width becomes 0 when it is invisible
and not to re-layout when changing to 0, as Andrew did above?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1492343

Title:
  Pages hidden in an AdpativePageLayout stack have their width changed
  to zero

Status in ubuntu-ui-toolkit package in Ubuntu:
  Confirmed

Bug description:
  As shown in this example [0], if you select the "Albums for artist"
  button to push a page onto the stack, you can see in the console that
  the width of the old component is changed to zero, which causes it
  then to reflow as the width is increased when it is brought back into
  view. Instead, the width should not be changed when the page is
  hidden.

  0 - http://pastebin.ubuntu.com/12274053/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1492343/+subscriptions


References