12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- import QtQuick
- import QtQuick.Controls
- import QtQuick.Templates as T
- import QtQuick.NativeStyle as NativeStyle
- T.Dial {
- id: control
- readonly property bool __nativeBackground: background instanceof NativeStyle.StyleItem
- implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
- implicitContentWidth + leftPadding + rightPadding,
- 80 )
- implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
- implicitContentHeight + topPadding + bottomPadding,
- 80 )
- background: NativeStyle.Dial {
- control: control
- useNinePatchImage: false
- }
- }
|