From 9b6964c5db2ff46fb9f604dcb0ecd5ec86942c11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Mon, 8 May 2023 16:23:55 +0800 Subject: Page & ToolBar --- ToolBar.qml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 ToolBar.qml (limited to 'ToolBar.qml') diff --git a/ToolBar.qml b/ToolBar.qml new file mode 100644 index 0000000..4834c70 --- /dev/null +++ b/ToolBar.qml @@ -0,0 +1,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 + } +} -- cgit v1.2.3