123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- import QtQuick
- import QtQuick.Controls.impl
- import QtQuick.Templates as T
- T.Pane {
- id: control
- implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
- contentWidth + leftPadding + rightPadding)
- implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
- contentHeight + topPadding + bottomPadding)
- padding: 12
- background: Rectangle {
- color: control.palette.window
- }
- }
|