1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- import QtQuick
- import QtQuick.Templates as T
- import QtQuick.Controls.impl
- import QtQuick.Controls.Fusion
- import QtQuick.Controls.Fusion.impl
- T.Pane {
- 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: control.palette.window
- }
- }
|