← Back to team overview

touch-packages team mailing list archive

[Bug 1534684] [NEW] [AdaptivePageLayout] Only reserve space for columns with a Page in them

 

Public bug reported:

When you have a PageColumnsLayout and one PageColumn has fillWidth:
true, that column should be able to consume the space of any other
column that does not have a Page in it, even if it has set minimumWidth
or preferredWith

Use Case:

uReadIt will use up to 3 columns if there is space of it, as
[SubredditPage][ArticlePage][CommentsPage]. The second column has
fillWidth:true. However, opening the [CommentsPage] is optional, and for
non-link Reddits posts it will only use [SubredditPage][CommentsPage].

So there are 2 cases where the 3rd column would not have any Page added
to it. In those cases, I would like the second column to use the space
otherwise reserved for the 3rd column, because fillWidth:true on the
second column. Once a Page is added to the 3rd column, then the 2nd
column should give up it's space based on the minimumWidth and
preferredWidth of the 3rd column.

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Wishlist
         Status: New

-- 
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/1534684

Title:
  [AdaptivePageLayout] Only reserve space for columns with a Page in
  them

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

Bug description:
  When you have a PageColumnsLayout and one PageColumn has fillWidth:
  true, that column should be able to consume the space of any other
  column that does not have a Page in it, even if it has set
  minimumWidth or preferredWith

  Use Case:

  uReadIt will use up to 3 columns if there is space of it, as
  [SubredditPage][ArticlePage][CommentsPage]. The second column has
  fillWidth:true. However, opening the [CommentsPage] is optional, and
  for non-link Reddits posts it will only use
  [SubredditPage][CommentsPage].

  So there are 2 cases where the 3rd column would not have any Page
  added to it. In those cases, I would like the second column to use the
  space otherwise reserved for the 3rd column, because fillWidth:true on
  the second column. Once a Page is added to the 3rd column, then the
  2nd column should give up it's space based on the minimumWidth and
  preferredWidth of the 3rd column.

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


Follow ups