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

View File

@ -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
} }

View File

@ -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
} }