Libksysguard
CompactSensorFace.qml
12SensorFace {
16 readonly property bool constrainedFormFactor: formFactor == SensorFace.Constrained
24 Layout.preferredWidth: horizontalFormFactor ? Math.max(height * goldenRatio, Layout.minimumWidth) : -1
25 // For vertical panels, just try to keep things square since increasing height usually does not make sense
29 Layout.maximumWidth: horizontalFormFactor ? Math.max(Kirigami.Units.iconSizes.enormous, Layout.minimumWidth) : -1
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jun 21 2024 12:02:44 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jun 21 2024 12:02:44 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.