update
parent
e4f02f50ca
commit
a37e4e3b9f
|
@ -36,6 +36,7 @@ Button {
|
|||
enabled: !disabled
|
||||
horizontalPadding:12
|
||||
font:FluTextStyle.Body
|
||||
focusPolicy:Qt.TabFocus
|
||||
background: Rectangle{
|
||||
implicitWidth: 28
|
||||
implicitHeight: 28
|
||||
|
|
|
@ -30,6 +30,7 @@ Button {
|
|||
visible: control.activeFocus
|
||||
}
|
||||
}
|
||||
focusPolicy:Qt.TabFocus
|
||||
contentItem: RowLayout{
|
||||
spacing: 4
|
||||
Rectangle{
|
||||
|
|
|
@ -13,6 +13,7 @@ T.Button {
|
|||
horizontalPadding: 0
|
||||
spacing: 0
|
||||
contentItem: Item{}
|
||||
focusPolicy:Qt.TabFocus
|
||||
background: Item{
|
||||
FluFocusRectangle{
|
||||
visible: control.activeFocus
|
||||
|
|
|
@ -38,6 +38,7 @@ Button {
|
|||
id: control
|
||||
rightPadding:35
|
||||
enabled: !disabled
|
||||
focusPolicy:Qt.TabFocus
|
||||
horizontalPadding:12
|
||||
background: Rectangle{
|
||||
implicitWidth: 28
|
||||
|
|
|
@ -26,7 +26,7 @@ Button {
|
|||
Accessible.onPressAction: control.clicked()
|
||||
id: control
|
||||
enabled: !disabled
|
||||
Keys.onSpacePressed: control.visualFocus&&clicked()
|
||||
focusPolicy:Qt.TabFocus
|
||||
font:FluTextStyle.Body
|
||||
horizontalPadding:12
|
||||
background: Rectangle{
|
||||
|
|
|
@ -41,6 +41,7 @@ Button {
|
|||
Accessible.onPressAction: control.clicked()
|
||||
id:control
|
||||
width: 30
|
||||
focusPolicy:Qt.TabFocus
|
||||
height: 30
|
||||
implicitWidth: width
|
||||
implicitHeight: height
|
||||
|
|
|
@ -838,6 +838,7 @@ Item {
|
|||
id:item_button
|
||||
width: 160
|
||||
padding:10
|
||||
focusPolicy:Qt.TabFocus
|
||||
background: Rectangle{
|
||||
color: {
|
||||
if(hovered){
|
||||
|
|
|
@ -28,6 +28,7 @@ Button {
|
|||
visible: control.activeFocus
|
||||
}
|
||||
}
|
||||
focusPolicy:Qt.TabFocus
|
||||
font:FluTextStyle.Body
|
||||
onClicked: clickListener()
|
||||
contentItem: RowLayout{
|
||||
|
|
|
@ -21,7 +21,7 @@ Button {
|
|||
return hovered ? hoverColor :normalColor
|
||||
}
|
||||
id: control
|
||||
horizontalPadding:12
|
||||
horizontalPadding:2
|
||||
enabled: !disabled
|
||||
Keys.onSpacePressed: control.visualFocus&&clicked()
|
||||
background: Item{
|
||||
|
@ -32,6 +32,7 @@ Button {
|
|||
radius:8
|
||||
}
|
||||
}
|
||||
focusPolicy:Qt.TabFocus
|
||||
Accessible.role: Accessible.Button
|
||||
Accessible.name: control.text
|
||||
Accessible.description: contentDescription
|
||||
|
|
|
@ -36,6 +36,7 @@ Button {
|
|||
Accessible.name: control.text
|
||||
Accessible.description: contentDescription
|
||||
Accessible.onPressAction: control.clicked()
|
||||
focusPolicy:Qt.TabFocus
|
||||
id: control
|
||||
enabled: !disabled
|
||||
horizontalPadding:12
|
||||
|
|
|
@ -22,6 +22,7 @@ Button {
|
|||
height: 20
|
||||
enabled: !disabled
|
||||
implicitHeight: height
|
||||
focusPolicy:Qt.TabFocus
|
||||
onClicked: clickListener()
|
||||
contentItem: Item{}
|
||||
background : RowLayout{
|
||||
|
|
Loading…
Reference in New Issue