From 497c7ec520790a39e3dd20b93eb316d4c741e47b Mon Sep 17 00:00:00 2001 From: Stu Leak Date: Sun, 4 Jan 2026 05:51:25 -0500 Subject: [PATCH] Center output entry text and hide redundant output hint --- main.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 94a77ff..4717be5 100644 --- a/main.go +++ b/main.go @@ -7064,7 +7064,13 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject { updateOutputHint = func() { outputHint.SetText(fmt.Sprintf("Output file: %s", getOutputPathPreview())) + if strings.TrimSpace(state.convert.OutputBase) == "" { + outputHintContainer.Show() + } else { + outputHintContainer.Hide() + } } + updateOutputHint() // DVD-specific aspect ratio selector (only shown for DVD formats) dvdAspectOpts := []string{"4:3", "16:9"} @@ -7258,7 +7264,7 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject { bg := canvas.NewRectangle(utils.MustHex("#344256")) bg.CornerRadius = 8 bg.SetMinSize(fyne.NewSize(0, 36)) - row := container.NewBorder(nil, nil, nil, right, entry) + row := container.NewBorder(nil, nil, nil, right, container.NewCenter(entry)) return container.NewMax(bg, container.NewPadded(row)) }