From 23759caeeaeee7b6bc191b69556d5341eefbcd8c Mon Sep 17 00:00:00 2001 From: Stu Leak Date: Tue, 23 Dec 2025 17:40:19 -0500 Subject: [PATCH] Add right column for author clip duration --- author_module.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/author_module.go b/author_module.go index 989c5b1..ad6c323 100644 --- a/author_module.go +++ b/author_module.go @@ -87,6 +87,7 @@ func buildVideoClipsTab(state *appState) fyne.CanvasObject { nameLabel.TextStyle = fyne.TextStyle{Bold: true} durationLabel := widget.NewLabel(fmt.Sprintf("%.2fs", clip.Duration)) durationLabel.TextStyle = fyne.TextStyle{Italic: true} + durationLabel.Alignment = fyne.TextAlignTrailing removeBtn := widget.NewButton("Remove", func() { state.authorClips = append(state.authorClips[:idx], state.authorClips[idx+1:]...) @@ -99,8 +100,8 @@ func buildVideoClipsTab(state *appState) fyne.CanvasObject { nil, nil, nil, - removeBtn, - container.NewVBox(nameLabel, durationLabel), + container.NewVBox(durationLabel, removeBtn), + container.NewVBox(nameLabel), ) cardBg := canvas.NewRectangle(utils.MustHex("#171C2A")) cardBg.CornerRadius = 6