1
0
mirror of https://github.com/zhuzichu520/FluentUI.git synced 2025-05-01 07:27:20 +08:00
This commit is contained in:
朱子楚\zhuzi 2024-04-04 12:11:08 +08:00
parent 84b2045b5f
commit b4329fdd0a
2 changed files with 4 additions and 4 deletions
src
Qt5/imports/FluentUI/Controls
Qt6/imports/FluentUI/Controls

@ -63,10 +63,10 @@ T.ComboBox {
selectByMouse: true selectByMouse: true
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
background: FluTextBoxBackground{ background: FluTextBoxBackground{
border.width: 0 border.width: 1
bottomMargin: { bottomMargin: {
if(!control.editable){ if(!control.editable){
return 0 return 1
} }
return contentItem && contentItem.activeFocus ? 2 : 1 return contentItem && contentItem.activeFocus ? 2 : 1
} }

@ -63,10 +63,10 @@ T.ComboBox {
selectByMouse: true selectByMouse: true
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
background: FluTextBoxBackground{ background: FluTextBoxBackground{
border.width: 0 border.width: 1
bottomMargin: { bottomMargin: {
if(!control.editable){ if(!control.editable){
return 0 return 1
} }
return contentItem && contentItem.activeFocus ? 2 : 1 return contentItem && contentItem.activeFocus ? 2 : 1
} }