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

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
	}
}