Move icon Y position from +20 to +32 DP below filename

- Icon was overlapping the first row of status bar
- Increased vertical spacing to avoid overlap
This commit is contained in:
Greg Pomerantz 2026-05-10 07:14:20 -04:00
parent fdd1e841ae
commit 1416e2db26

View File

@ -174,7 +174,7 @@ func (r *Renderer) drawStatusBar(gtx layout.Context, sb StatusBar, _ WindowConst
r.drawTruncatedText(gtx, th.Shaper, displayFilename, r.theme.FontSize, reg.X+Dp(8), filenameLineY, availableWidth, spaceForText, color.NRGBA{R: 0, G: 0, B: 0, A: 255})
// Line 2: Icons — positioned 20DP below filename baseline.
iconsLineY := filenameLineY + Dp(20)
iconsLineY := filenameLineY + Dp(32)
// Left side: Cut, Copy, Paste icons (always visible)
leftX := reg.X + Dp(8)