From 87dbc37505ca6d9a7daaeac5560b5f4c77e71c67 Mon Sep 17 00:00:00 2001 From: MichaelSun Date: Wed, 29 May 2024 09:58:11 +0800 Subject: [PATCH] feat: support utf-8 --- .../gitstats/toolWindow/GitStatsWindowFactory.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/com/huayi/intellijplatform/gitstats/toolWindow/GitStatsWindowFactory.kt b/src/main/kotlin/com/huayi/intellijplatform/gitstats/toolWindow/GitStatsWindowFactory.kt index d15bf59..cccaa96 100644 --- a/src/main/kotlin/com/huayi/intellijplatform/gitstats/toolWindow/GitStatsWindowFactory.kt +++ b/src/main/kotlin/com/huayi/intellijplatform/gitstats/toolWindow/GitStatsWindowFactory.kt @@ -48,8 +48,8 @@ class GitStatsWindowFactory : ToolWindowFactory { var (startTime, endTime) = Utils.getThisWeekDateTimeRange() var defaultMode = "Top-speed" val table = JBTable().apply { - font = Font("Arial", Font.PLAIN, 14) - tableHeader.font = Font("Arial", Font.BOLD, 14) + font = Font("Microsoft YaHei", Font.PLAIN, 14) + tableHeader.font = Font("Microsoft YaHei", Font.BOLD, 14) border = BorderFactory.createEmptyBorder(0, 0, 0, 0) columnSelectionAllowed = false rowSelectionAllowed = true