mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
UserInterfaceTab: everything follows border radius slider
This commit is contained in:
+2
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user