touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #45959
[Bug 1408481] Re: Header contents not full width after navigating to a page with more actions
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"
}
]
}
}
}
}
--
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/1408481
Title:
Header contents not full width after navigating to a page with more
actions
Status in ubuntu-ui-toolkit package in Ubuntu:
In Progress
Bug description:
I have a page with 1 action (search which shows a textfield filling
the header) and another with multiple actions causing an overflow. If
you select the search action after navigating to the other tab its
right anchor is moved to where the left most action from the other
page is, not the current page.
I have an example branch here [0]
Steps:
* Select search
* Note the search bar fills the width
* Select back
* Switch to the other tab and back again
* Select search
* Notice its right anchor point has moved
0 - lp:~andrew-hayzen/+junk/header-not-full-width-example
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1408481/+subscriptions
References