AbstractApplicationHeader QML Type
An item that can be used as a title for the application. More...
- Import Statement: import org.kde.kirigami
- Inherits: Item
Detailed Description
Scrolling the main page will make it taller or shorter (through the point of going away) It's a behavior similar to the typical mobile web browser addressbar the minimum, preferred and maximum heights of the item can be controlled with:
- minimumHeight: default is 0, i.e. hidden
- preferredHeight: default is Units.gridUnit * 1.6
- maximumHeight: default is Units.gridUnit * 3
To achieve a titlebar that stays completely fixed just set the 3 sizes as the same.
Property Documentation
background : Item
This property holds the background item.
Note: The background will be automatically sized to fill the whole control.
bottomPadding : int
[default] contentItem : alias
hideWhenTouchScrolling : bool
This property specifies whether the header should be pushed back when scrolling using the touch screen.