Skip to content

Commit ed1f249

Browse files
electricfacedeepin-bot[bot]
authored andcommitted
fix: The font size of the category jump menu does not adjust
with the system font size when sorting by category --- fix: 按分类排序时,分类跳转菜单字体大小不随系统字体大小调整而改变问题 Log: 修复按分类排序时,分类跳转菜单字体大小不随系统字体大小调整而改变问题 Influence: 启动器分类跳转菜单文字大小 PMS: BUG-335169
1 parent c28015b commit ed1f249

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

qml/windowed/AppListView.qml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,13 +270,15 @@ FocusScope {
270270
id: menuItem
271271
text: getCategoryName(modelData)
272272
textColor: DStyle.Style.menu.itemText
273+
font: DTK.fontManager.t6
273274
onTriggered: {
274275
scrollToDDECategory(modelData)
275276
}
276277
contentItem: IconLabel {
277278
alignment: Qt.AlignCenter
278279
text: menuItem.text
279280
color: parent.palette.windowText
281+
font: menuItem.font
280282
}
281283
background: BoxPanel {
282284
anchors.left: parent.left

0 commit comments

Comments
 (0)