** Description changed:

- 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.
+ 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"
                  }
              }
          }
      }
+ }

** Description changed:

- 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.
+ 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"
-                 }
-             }
-         }
-     }
+     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"
+                 }
+             }
+         }
+     }
  }

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: New => Confirmed

** Changed in: ubuntu-ui-toolkit (Ubuntu)
   Importance: Undecided => High

-- 
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:
  Confirmed

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     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to