Android UI customizations

This commit is contained in:
Thomas Perl 2014-11-22 16:19:53 +01:00
parent c7fd930219
commit 9610c51c30
18 changed files with 260 additions and 48 deletions

View file

@ -27,9 +27,20 @@ Item {
id: slidePageHeader
property alias title: label.text
property alias color: label.color
property alias wrapMode: label.wrapMode
property bool isOnSlidePage: (typeof(page) !== 'undefined') ? page : null
width: parent.width
height: Constants.layout.header.height * pgst.scalef
visible: !platform.titleInToolbar || !isOnSlidePage
height: visible ? (Constants.layout.header.height * pgst.scalef) : 0
Binding {
target: isOnSlidePage ? page : null
property: 'title'
value: slidePageHeader.title
when: platform.titleInToolbar
}
PLabel {
id: label