We do not support using Tabs in combination with PageHeader. We need to
document that, see this bug https://bugs.launchpad.net/ubuntu/+source
/ubuntu-ui-toolkit/+bug/1566735

There will be new tab designs though, and we need to evaluate those to
see if we will update the current Tabs component for those patterns
(then we have to make it work with PageHeader), or we completely
deprecated the old Tabs and we don't fix this bug.

I will try to get the new designs so we can make a more-informed
decision.

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

Title:
  Tabs and Page with PageHeader shows two headers

Status in ubuntu-ui-toolkit package in Ubuntu:
  In Progress

Bug description:
  If I use a Tabs component, and place a Page in one of the Tabs, and
  that Page has a new-style PageHeader, then my app shows two separate
  headers.

  import QtQuick 2.4
  import Ubuntu.Components 1.3

  MainView {
      width: units.gu(70)
      height: units.gu(80)
      Tabs {
          Tab {
              page:Page {
                  header: PageHeader {
                      id: pageHeader
                      title: i18n.tr("MyApp")
                  }
              }
          }
          Tab {
              title: i18n.tr("Simple page")
              page: Page {
                  Label {
                      id: label
                      anchors.centerIn: parent
                      text: "A centered label"
                  }
              }
          }
      }
  }

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to