← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1566741] Re: Tabs and Page with PageHeader shows two headers

 

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: In Progress => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, 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:
  Won't Fix

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


References