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

This commit is contained in:
youdiansaodongxi 2024-07-08 14:00:11 +08:00 committed by iaom
parent 5c52d74522
commit d1585289b2
2 changed files with 2 additions and 0 deletions

View File

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

View File

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