Fix charWidths to match Gio's textView PxPerEm calculation

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
gmp
2026-05-08 23:37:10 -04:00
co-authored by Qwen-Coder
parent 96b7c6dc97
commit 87992c3d99
3 changed files with 10 additions and 50 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ func EditorLayout(screenWidth, screenHeight unit.Dp) []ui.Element {
// Create StatusBar with mocked filename
statusBar := ui.NewStatusBar(
statusBarRegion,
"very_long_filename_that_does_not_fit_on_a_single_line.txt",
"very_long_filename_that_does_not_fit_on_a_single_line_and_it_just_keeps_on_going_and_going_and_going_and_going_and_going.txt",
false, // FilenameExp
true, // CutCopy
false, // Copy