** 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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1566741 Title: Tabs and Page with PageHeader shows two headers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1566741/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs