123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- import QtQuick
- import QtQuick.Templates as T
- import QtQuick.Controls.impl
- import QtQuick.Controls.Fusion
- import QtQuick.Controls.Fusion.impl
- T.Frame {
- id: control
- implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
- contentWidth + leftPadding + rightPadding)
- implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
- contentHeight + topPadding + bottomPadding)
- padding: 9
- background: Rectangle {
- color: "transparent"
- border.color: Qt.lighter(Fusion.outline(control.palette), 1.08)
- }
- }
|