diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 76dadf5..b086257 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -166,6 +166,8 @@ button for the logs folder.** **Jobs sidebar:** +- The **Disable auto** row gained a top inset matching the gap below it, so it + no longer sits flush against the tab bar. - The **Folder** caption moved onto the filter row itself, beside the select and the view toggle, instead of occupying its own line above it — the job list now starts a full label higher. diff --git a/src/ui/jobs_view.go b/src/ui/jobs_view.go index 1c6da03..949f018 100644 --- a/src/ui/jobs_view.go +++ b/src/ui/jobs_view.go @@ -336,7 +336,13 @@ func newJobsView(w fyne.Window, svc *app.Service) (fyne.CanvasObject, func()) { }) toolbar := container.NewHBox(addButton, editButton, runButton, pauseButton, deleteButton, layout.NewSpacer()) - globalControls := container.NewHBox(stopAllButton, schedulerState, layout.NewSpacer()) + // The row sits directly under the tab bar with no AppTabs inset, while the + // default VBox gap below it is one theme padding — add the same on top so + // the button is not flush against the tabs. + globalControls := container.New( + layout.NewCustomPaddedLayout(theme.Padding(), 0, 0, 0), + container.NewHBox(stopAllButton, schedulerState, layout.NewSpacer()), + ) // The whole filter is one row: caption on the left, view toggle on the right, // select filling what is left. The border layout gives both edges their // MinSize, so the header is a line shorter than a stacked caption would make it.