touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #47647
[Bug 1248898] Re: No documentation for how to hide MainView's header
** Changed in: ubuntu-ui-toolkit (Ubuntu)
Status: Confirmed => In Progress
--
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/1248898
Title:
No documentation for how to hide MainView's header
Status in Ubuntu UI Toolkit:
Confirmed
Status in ubuntu-ui-toolkit package in Ubuntu:
In Progress
Bug description:
All Ubuntu applications should have a MainView, even if you want the
app to be fullscreen and not contain the "Ubuntu header" (for example
a game). The way to do this, currently, is to have a Header and a
Page, and set the Page's title to the empty string, "". This will hide
the header. This is, however, undocumented, and even if documented is
a bit crufty (what happens if you have more than one page and one of
them has a blank title? Does the header appear only on some pages?
That would mean that you can switch between pages until you get to a
headerless one and then you're stuck there.) Perhaps there should be a
hideHeader boolean property on MainView or similar: it would do the
same thing as setting the current Page's title to "", but would be a
property of the header rather than the page: it would also make it
easier to discover this feature from reading the documentation,
because there would be an explicit property to do what's required
rather than a magic value of an existing property.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1248898/+subscriptions