yes, I currently get it working by defining it like:

ExternalPage.qml

Page {
    Label {
        anchors.centerIn: parent
        text: i18n.tr("This is the external page")
    }
}

If it is defined to be like:

ExternalPage.qml

import QtQuick 2.0
import Ubuntu.Components 1.1

Item {
    anchors.fill: parent
    Label {
        anchors.centerIn: parent
        text: i18n.tr("This is page xxx one")
    }
}

It does not work. The intention for the bug is to have some warnings
when non-page is assigned during the running. Otherwise, a developer
does not know what is happening or what could be wrong when an "Item" is
assigned to a page.

Best regards,
XiaoGuo

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1436767

Title:
  No error output if item is used for the Page assignment

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to