From bbb4d75a0abc77254a924c60be0924f1d3c94d81 Mon Sep 17 00:00:00 2001 From: nali Date: Tue, 4 Aug 2020 17:40:19 -0400 Subject: [PATCH] added some padding --- app/main.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/main.go b/app/main.go index 0b86f5a..eafe128 100644 --- a/app/main.go +++ b/app/main.go @@ -178,8 +178,11 @@ func main() { container.BorderTitle("PRESS Q TO QUIT"), container.SplitVertical( container.Left( - container.SplitHorizontal(container.Top(container.PlaceWidget(borderlessTopLeft)), container.Bottom(container.PlaceWidget(borderlessBottomLeft)), container.SplitPercent(5))), - container.Right(container.Border(linestyle.Light), container.BorderTitle("News"), container.PlaceWidget(borderlessTopRight)))) + container.SplitHorizontal( + container.Top(container.PlaceWidget(borderlessTopLeft)), + container.Bottom( + container.Border(linestyle.Light), container.BorderTitle("RSS"), container.PaddingRightPercent(3), container.PaddingLeftPercent(3), container.PlaceWidget(borderlessBottomLeft)), container.SplitPercent(5))), + container.Right(container.Border(linestyle.Light), container.BorderTitle("News"), container.PaddingRightPercent(3), container.PaddingLeftPercent(3), container.PlaceWidget(borderlessTopRight)))) if err != nil { panic(err)