ui: 720p-safe default window size + tighter layout minimums (T5.1)
Lower default from 1120×720 to 1024×660 so the window opens fully visible on 1366×768 / 720p screens. Reduce minJobsSidebarWidth (480→400) and commandOutputScroll min size (520×160→460×120) to match; the layout engine enforces these as the natural minimum, keeping the UI usable at the smaller default. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -17,7 +17,7 @@ import (
|
||||
|
||||
const allFolders = "All"
|
||||
const noFolder = "No folder"
|
||||
const minJobsSidebarWidth float32 = 480
|
||||
const minJobsSidebarWidth float32 = 400
|
||||
|
||||
// maxJobActivityRows caps the "Selected job activity" panel to the most recent
|
||||
// entries. The full per-job history (up to maxJobLogs) remains in the History
|
||||
@@ -88,7 +88,7 @@ func newJobsView(w fyne.Window, svc *app.Service) (fyne.CanvasObject, func()) {
|
||||
// Command output can contain long lines and preserved whitespace. TextGrid is
|
||||
// used instead of Label so stdout/stderr remains readable and does not vanish
|
||||
// against the theme when it is placed inside a scroll container.
|
||||
commandOutputScroll.SetMinSize(fyne.NewSize(520, 160))
|
||||
commandOutputScroll.SetMinSize(fyne.NewSize(460, 120))
|
||||
|
||||
selectedLogs := lastJobLogs(selectedRuntime.Logs)
|
||||
jobLogs := widget.NewList(
|
||||
|
||||
Reference in New Issue
Block a user