Rules-based browser launcher for TUI + GNOME. switchyard.aly.codes
tui gome bowser go
0

Configure Feed

Select the types of activity you want to include in your feed.

feat: make ui margins consistent

authored by

Anthony Lupow and committed by
Aly Raffauf
(May 21, 2026, 3:08 PM EDT) 72d98053 3424da91

+5 -2
+2 -2
src/ui_helpers.go
··· 36 36 IconSize: 128, 37 37 IconPadding: 6, 38 38 ButtonSpacing: 16, 39 - ContentMarginH: 12, 40 - ContentMarginT: 24, 39 + ContentMarginH: 16, 40 + ContentMarginT: 16, 41 41 ContentMarginB: 8, 42 42 BarMargin: 8, 43 43 MaxColumns: 6,
+3
src/window_launcher.go
··· 47 47 flowBox.Insert(btn, -1) 48 48 } 49 49 50 + // Correct max column items. This helps getting rid of empty item spacing. 51 + flowBox.SetMaxChildrenPerLine(min(flowBox.MaxChildrenPerLine(), uint(len(filteredBrowsers)))) 52 + 50 53 // Handle Enter/Space activation on selected FlowBox child 51 54 flowBox.ConnectChildActivated(func(child *gtk.FlowBoxChild) { 52 55 idx := child.Index()