Comment 2 for bug 1408481

Revision history for this message
Tim Peeters (tpeeters) wrote :

the code to reproduce the issue can be simplified to this:

    MainView {
      width: units.gu(50)
      height: units.gu(80)
        useDeprecatedToolbar: false

        Tabs {
            Tab {
                title: "Search"
                page: Page {
                    head.contents: TextField {
                        anchors {
                            left: parent ? parent.left : undefined
                            right: parent ? parent.right : undefined
                            rightMargin: units.gu(1)
                        }
                        placeholderText: i18n.tr("Search...")
                    }
                }
            }
            Tab {
                title: "Actions"
                page: Page {
                    head.actions: [
                        Action {
                            iconName: "add"
                        },
                        Action {
                            iconName: "clear"
                        },
                        Action {
                            iconName: "delete"
                        }
                    ]
                }
            }
        }
    }