Not possible to set a page title and hide the header
Bug #1308343 reported by
David Planella
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Confirmed
|
High
|
Tim Peeters |
Bug Description
For the use case of setting the Calculator's app title to a readable name on the desktop instead of the app's id, we set the app's main Page's title. However, that made the Page's header show up, which is undesired for the Calculator app.
The documentation seems to imply that setting the flickable property of the Page to null hides the header, but that does not seem to be the case.
So here's a request to be able to hide the header when the Page title is set.
Changed in ubuntu-ui-toolkit: | |
status: | New → Confirmed |
Changed in ubuntu-ui-toolkit: | |
importance: | Undecided → High |
assignee: | nobody → Tim Peeters (tpeeters) |
tags: | added: header |
To post a comment you must log in.
Another way of setting the window title in QML is to embed the MainView inside a top-level Window element. For an example, see http:// bazaar. launchpad. net/~phablet- team/webbrowser -app/trunk/ view/head: /src/app/ webbrowser/ webbrowser- app.qml (the Browser element is a MainView).