ui(shortcuts): 调整按钮圆角大小
This commit is contained in:
parent
18a8c00909
commit
10b9d7e081
|
@ -27,7 +27,7 @@ BaseButton {
|
|||
UkuiItems.Background {
|
||||
anchors.fill: parent
|
||||
|
||||
radius: Platform.Theme.normalRadius
|
||||
radius: mainWindow.isTabletMode ? Platform.Theme.maxRadius*2 : Platform.Theme.normalRadius
|
||||
|
||||
mixMode: UkuiItems.ColorMix.Normal
|
||||
backColorRole: buttonColor === PluginColorRole.HighLight ? Platform.Theme.Highlight : Platform.Theme.Base
|
||||
|
|
|
@ -26,7 +26,7 @@ import org.ukui.quick.platform 1.0 as Platform
|
|||
BaseButton {
|
||||
UkuiItems.Background {
|
||||
anchors.fill: parent
|
||||
radius: Platform.Theme.normalRadius
|
||||
radius: mainWindow.isTabletMode ? Platform.Theme.maxRadius*2 : Platform.Theme.normalRadius
|
||||
|
||||
backColorRole: Platform.Theme.Base
|
||||
backColorAlpha: Platform.Theme.isDarkTheme ? 0.45 : 0.75
|
||||
|
|
|
@ -27,7 +27,7 @@ import org.ukui.quick.platform 1.0 as Platform
|
|||
BaseButton {
|
||||
UkuiItems.Background {
|
||||
anchors.fill: parent
|
||||
radius: Platform.Theme.normalRadius
|
||||
radius: mainWindow.isTabletMode ? Platform.Theme.maxRadius*2 : Platform.Theme.normalRadius
|
||||
|
||||
backColorRole: Platform.Theme.Base
|
||||
backColorAlpha: Platform.Theme.isDarkTheme ? 0.45 : 0.75
|
||||
|
|
|
@ -51,7 +51,7 @@ Item {
|
|||
Layout.preferredWidth: height
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
|
||||
background.radius: Platform.Theme.normalRadius
|
||||
background.radius: mainWindow.isTabletMode ? Platform.Theme.maxRadius : Platform.Theme.normalRadius
|
||||
background.paletteRole: Platform.Theme.WindowText
|
||||
background.alpha: containsPress ? 0.16 : containsMouse ? 0.08 : 0.0
|
||||
icon.source: "applications-system-symbolic"
|
||||
|
|
Loading…
Reference in New Issue