Skip to content

Commit

Permalink
Move dash navigation to left
Browse files Browse the repository at this point in the history
  • Loading branch information
ipmb committed Apr 26, 2022
1 parent 1bc0774 commit 13cd39d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions cmd/dash.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,11 +245,6 @@ var dashCmd = &cobra.Command{
container.SplitVertical(
container.Left(
container.ID("navigation"),
container.SplitHorizontal(
container.Top(container.ID("graphNav")),
container.Bottom(container.ID("timeframeNav")),
container.SplitPercent(25),
),
),
container.Right(
container.ID(contentContainerID),
Expand Down Expand Up @@ -339,7 +334,13 @@ var dashCmd = &cobra.Command{
container.Border(linestyle.Light),
container.BorderColor(cell.ColorGray),
)
err = rootContainer.Update("graphNav", gridOpts...)
err = rootContainer.Update("navigation",
container.SplitHorizontal(
container.Top(gridOpts...),
container.Bottom(container.ID("timeframeNav")),
container.SplitFixed(len(graphButtons)+4),
),
)
checkErr(err)
timeframeButtons := []widgetapi.Widget{}

Expand Down

0 comments on commit 13cd39d

Please sign in to comment.