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:
parent
fdd1e841ae
commit
1416e2db26
|
|
@ -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})
|
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.
|
// Line 2: Icons — positioned 20DP below filename baseline.
|
||||||
iconsLineY := filenameLineY + Dp(20)
|
iconsLineY := filenameLineY + Dp(32)
|
||||||
|
|
||||||
// Left side: Cut, Copy, Paste icons (always visible)
|
// Left side: Cut, Copy, Paste icons (always visible)
|
||||||
leftX := reg.X + Dp(8)
|
leftX := reg.X + Dp(8)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user