UserInterfaceTab: everything follows border radius slider

This commit is contained in:
Ly-sec
2025-12-01 19:43:02 +01:00
parent 3c6224f001
commit 18e9eb11b4
37 changed files with 150 additions and 324 deletions
+2 -1
View File
@@ -20,6 +20,7 @@ Rectangle {
property real iconSize: Style.fontSizeL
property bool outlined: false
property int horizontalAlignment: Qt.AlignHCenter
property real buttonRadius: Style.radiusS
// Signals
signal clicked
@@ -36,7 +37,7 @@ Rectangle {
implicitHeight: Math.max(Style.baseWidgetSize, contentRow.implicitHeight + (Style.marginM))
// Appearance
radius: Style.radiusS
radius: root.buttonRadius
color: {
if (!enabled)
return outlined ? Color.transparent : Qt.lighter(Color.mSurfaceVariant, 1.2);