touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #100570
[Bug 1492343] Re: Pages hidden in an AdpativePageLayout stack have their width changed to zero
Internally the AdaptivePageLayout has an Item with id hiddenPages which
is the parent for the Pages that were added but not visible. We did not
set its anchors, that is why it is null. A quick fix to make its width
not 0 is to make it fill its parent (the AdaptivePageLayout), but then
still the width would change when a Page becomes hidden in a multi-
column layout because the hidden pages would span the full width.
Basically, there is no fixed width that the parent of the hidden pages
must have because the pages may go to different columns when they become
visible.
Is there a way you can prevent the page from re-layouting when it is not
visible?
** Changed in: ubuntu-ui-toolkit (Ubuntu)
Status: New => Confirmed
--
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