summaryrefslogtreecommitdiff
path: root/ToolBar.qml
blob: e722820171f0b6ca4e705a3d02f4c75d0b0b63b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import QtQuick
import QtQuick.Templates
import Bootstrap

ToolBar {
	id: control
	implicitWidth: Math.max(implicitBackgroundWidth
			+ leftInset + rightInset,
			contentWidth + leftPadding + rightPadding)
	implicitHeight: Math.max(implicitBackgroundHeight
			+ topInset + bottomInset,
			contentHeight + topPadding + bottomPadding)
	background: Rectangle {
		implicitHeight: 40
		color: control.Bootstrap.bodyBg
	}
}