Skip to content

Commit

Permalink
added some padding
Browse files Browse the repository at this point in the history
  • Loading branch information
nickali committed Aug 4, 2020
1 parent d0ac251 commit bbb4d75
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bbb4d75

Please sign in to comment.