ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #05855
[Bug 1493178] Re: PageHeadStyle should coordinate Page.head.contents and the ActionBar to not overlap, if possible
with the new header you have control over the number of slots. See the
introduction here https://developer.ubuntu.com/en/blog/2016/02/24
/pageheader-tutorial/ and use
PageHeader.trailingActionBar.numberOfSlots.
** Changed in: ubuntu-ui-toolkit (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1493178
Title:
PageHeadStyle should coordinate Page.head.contents and the ActionBar
to not overlap, if possible
Status in ubuntu-ui-toolkit package in Ubuntu:
Fix Released
Bug description:
In my app "Lone Wolf", I use Page.head.contents to add an interactive widget to the page header. It looks like this:
https://myapps.developer.ubuntu.com/site_media/appmedia/2015/09/screenshot20150803_125313389.png
In SDK 1.3, there are up to three action icons shown, instead of the
one in SDK 1.2. This means the header is too crowded and
Page.head.contents may overlap the action icons, depending on how long
the page title is (and how wide the screen is of course).
Looking at PageHeadStyle.qml, there is no relationship between
Page.head.contents.width and ActionBarStyle.width. But I think there
should be.
I don't seem to have any control over ActionBarStyle.numberOfSlots
myself. Or any control over how wide the ActionBar is.
In short, I can't figure out how to replicate my header behavior with
SDK 1.3. Maybe the answer is I shouldn't stick widgets in the header?
But otherwise, I'd consider this a bug.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1493178/+subscriptions
References