Skip to content

Commit cefd0ce

Browse files
author
zengwei
committed
fix(grub-theme): 调整 1024x768 分辨率下启动菜单宽度,修复显示不完整问题
pms: 359281
1 parent c330ffe commit cefd0ce

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

adjust-grub-theme/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,7 @@ func adjustBootMenuV25(comp *tt.Component, width, height int) {
10711071
if width == 1024 && height == 768 {
10721072
// halfWidthPercent represents half of the boot menu width percentage.
10731073
// The boot menu is centered, so width = halfWidthPercent * 2, left = 50% - halfWidthPercent,
1074-
halfWidthPercent := 22
1074+
halfWidthPercent := 27
10751075
comp.SetProp("width", tt.RelNum(halfWidthPercent*2))
10761076
comp.SetProp("left", tt.RelNum(50-halfWidthPercent))
10771077
}

adjust-grub-theme/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
package main
66

7-
const VERSION int = 19
7+
const VERSION int = 20

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
dde-api (6.0.41) unstable; urgency=medium
2+
3+
* fix(grub-theme): 调整 1024x768 分辨率下启动菜单宽度,修复显示不完整问题
4+
5+
-- zengwei <zengwei@uniontech.com> Fri, 09 May 2026 10:00:00 +0800
6+
17
dde-api (6.0.40) unstable; urgency=medium
28

39
* feat: add cmake find_package support and auto-init for EventLogger 为

0 commit comments

Comments
 (0)