fix(qml/AppUI): 设置完其他字体后恢复默认设置,搜索框字体未同步

This commit is contained in:
youdiansaodongxi 2024-07-08 14:00:11 +08:00
parent 8d5436408e
commit e6b2a609e8
2 changed files with 2 additions and 0 deletions

View File

@ -78,6 +78,7 @@ Item {
selectByMouse: true
maximumLength: 14
font.pointSize: textSize
font.family: Platform.Theme.fontFamily;
onEditingFinished: {
// modelManager.getFolderModel().renameFolder(text);

View File

@ -85,6 +85,7 @@ UkuiItems.StyleBackground {
selectByMouse: true
verticalAlignment: TextInput.AlignVCenter
font.pointSize: defaultText.font.pointSize
font.family: defaultText.font.family
focus: true
activeFocusOnTab: true