From 6e4eda93d27126909d64006955a3271ddaaf4185 Mon Sep 17 00:00:00 2001 From: Stu Leak Date: Wed, 17 Dec 2025 13:36:56 -0500 Subject: [PATCH] Improve progress bar visibility and thickness MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Increase striped progress bar contrast (light: 90→60, dark: 140→200) - Increase fill opacity (180→200) for better visibility - Increase progress bar height from 14px to 20px across both striped and standard bars - Makes progress bars more visible and easier to read at a glance The striped gradient now has much clearer distinction between light and dark stripes, and the increased thickness makes progress easier to track visually. --- internal/ui/components.go | 2 +- internal/ui/queueview.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/internal/ui/components.go b/internal/ui/components.go index 3577960..900f2fb 100644 --- a/internal/ui/components.go +++ b/internal/ui/components.go @@ -531,7 +531,7 @@ func (r *conversionStatsRenderer) Layout(size fyne.Size) { if r.bar.running > 0 && r.bar.progress > 0 { // Show progress bar on right side barWidth := float32(120) - barHeight := float32(14) + barHeight := float32(20) barX := size.Width - barWidth - padding barY := (size.Height - barHeight) / 2 diff --git a/internal/ui/queueview.go b/internal/ui/queueview.go index 46fdf52..c18ae4f 100644 --- a/internal/ui/queueview.go +++ b/internal/ui/queueview.go @@ -48,11 +48,11 @@ func (s *stripedProgress) SetProgress(p float64) { func (s *stripedProgress) CreateRenderer() fyne.WidgetRenderer { bgRect := canvas.NewRectangle(s.bg) - fillRect := canvas.NewRectangle(applyAlpha(s.color, 180)) + fillRect := canvas.NewRectangle(applyAlpha(s.color, 200)) stripes := canvas.NewRaster(func(w, h int) image.Image { img := image.NewRGBA(image.Rect(0, 0, w, h)) - light := applyAlpha(s.color, 90) - dark := applyAlpha(s.color, 140) + light := applyAlpha(s.color, 60) + dark := applyAlpha(s.color, 200) for y := 0; y < h; y++ { for x := 0; x < w; x++ { // animate diagonal stripes using offset @@ -101,7 +101,7 @@ func (r *stripedProgressRenderer) Layout(size fyne.Size) { } func (r *stripedProgressRenderer) MinSize() fyne.Size { - return fyne.NewSize(120, 14) + return fyne.NewSize(120, 20) } func (r *stripedProgressRenderer) Refresh() {