Android UI customizations
This commit is contained in:
parent
c7fd930219
commit
9610c51c30
18 changed files with 260 additions and 48 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue