import QtQuick 2.15 import QtQuick.Layouts import QtQuick.Controls import FluentUI.Controls Item{ property var p_title: "" Layout.preferredWidth: parent.width Layout.preferredHeight: 35 Rectangle{ anchors.top: parent.top width: parent.width height: 1 color: Qt.rgba(216/255,216/255,216/255, 0.1) } Label{ text: p_title font.pointSize: 12 anchors.top: parent.top anchors.topMargin: 8 } }