28 lines
620 B
QML
28 lines
620 B
QML
|
// SPDX-License-Identifier: LGPL-3.0-or-later
|
||
|
|
||
|
import QtQuick 2.12
|
||
|
import "../Base"
|
||
|
|
||
|
HPopup {
|
||
|
id: popup
|
||
|
|
||
|
|
||
|
default property alias pageData: page.columnData
|
||
|
readonly property alias page: page
|
||
|
|
||
|
|
||
|
HColumnPage {
|
||
|
id: page
|
||
|
implicitWidth: Math.min(
|
||
|
popup.maximumPreferredWidth,
|
||
|
theme.controls.popup.defaultWidth,
|
||
|
)
|
||
|
implicitHeight: Math.min(
|
||
|
popup.maximumPreferredHeight,
|
||
|
implicitHeaderHeight + implicitFooterHeight +
|
||
|
topPadding + bottomPadding + implicitContentHeight,
|
||
|
)
|
||
|
useVariableSpacing: false
|
||
|
}
|
||
|
}
|