main
朱子楚\zhuzi 2023-05-13 17:30:07 +08:00
parent fdcf2de3ee
commit 8475ec7f03
5 changed files with 4 additions and 12 deletions

View File

@ -62,20 +62,12 @@ FluScrollablePage{
spacing: 10 spacing: 10
FluFilledButton{ FluFilledButton{
text:"编辑" text:"编辑"
topPadding:3
bottomPadding:3
leftPadding:6
rightPadding:6
onClicked:{ onClicked:{
showSuccess(JSON.stringify(dataObject)) showSuccess(JSON.stringify(dataObject))
} }
} }
FluFilledButton{ FluFilledButton{
text:"删除" text:"删除"
topPadding:3
bottomPadding:3
leftPadding:6
rightPadding:6
onClicked:{ onClicked:{
showError(JSON.stringify(dataObject)) showError(JSON.stringify(dataObject))
} }

View File

@ -17,7 +17,7 @@ Button {
Keys.onSpacePressed: control.visualFocus&&clicked() Keys.onSpacePressed: control.visualFocus&&clicked()
font:FluTextStyle.Body font:FluTextStyle.Body
background: Rectangle{ background: Rectangle{
implicitWidth: 100 implicitWidth: 28
implicitHeight: 28 implicitHeight: 28
border.color: FluTheme.dark ? "#505050" : "#DFDFDF" border.color: FluTheme.dark ? "#505050" : "#DFDFDF"
border.width: 1 border.width: 1

View File

@ -20,7 +20,7 @@ Button {
horizontalPadding:12 horizontalPadding:12
Keys.onSpacePressed: control.visualFocus&&clicked() Keys.onSpacePressed: control.visualFocus&&clicked()
background: Rectangle{ background: Rectangle{
implicitWidth: 100 implicitWidth: 28
implicitHeight: 28 implicitHeight: 28
border.color: FluTheme.dark ? "#505050" : "#DFDFDF" border.color: FluTheme.dark ? "#505050" : "#DFDFDF"
border.width: 1 border.width: 1

View File

@ -18,7 +18,7 @@ Button {
font:FluTextStyle.Body font:FluTextStyle.Body
horizontalPadding:12 horizontalPadding:12
background: Rectangle{ background: Rectangle{
implicitWidth: 100 implicitWidth: 28
implicitHeight: 28 implicitHeight: 28
radius: 4 radius: 4
FluFocusRectangle{ FluFocusRectangle{

View File

@ -37,7 +37,7 @@ Button {
focusPolicy:Qt.TabFocus focusPolicy:Qt.TabFocus
horizontalPadding:12 horizontalPadding:12
background: Rectangle{ background: Rectangle{
implicitWidth: 100 implicitWidth: 28
implicitHeight: 28 implicitHeight: 28
radius: 4 radius: 4
border.color: FluTheme.dark ? "#505050" : "#DFDFDF" border.color: FluTheme.dark ? "#505050" : "#DFDFDF"