FluentUI/FluentUI/MenuSeparator.qml
yxdy a44db97aa3
Some checks failed
Gallery App Build / Windows (push) Has been cancelled
Gallery App Build / macOS (push) Has been cancelled
Gallery App Build / Ubuntu (push) Has been cancelled
init
2025-02-12 10:31:20 +08:00

20 lines
663 B
QML

import QtQuick
import QtQuick.Templates as T
import FluentUI.Controls
import FluentUI.impl
T.MenuSeparator {
id: control
FluentUI.theme: Theme.of(control)
implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
implicitContentWidth + leftPadding + rightPadding)
implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
implicitContentHeight + topPadding + bottomPadding)
verticalPadding: 2
contentItem: Rectangle {
implicitWidth: 200
implicitHeight: 1
color: control.FluentUI.theme.res.dividerStrokeColorDefault
}
}