Skip to content

Commit

Permalink
Remove internal border of Progress
Browse files Browse the repository at this point in the history
  • Loading branch information
nakabonne committed Sep 21, 2020
1 parent def70ff commit 2ea1f4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gui/gui.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func gridLayout(w *widgets) ([]container.Option, error) {
),
)
raw3 := grid.RowHeightPerc(4,
grid.ColWidthPerc(50, grid.Widget(w.progressGauge, container.Border(linestyle.None))),
grid.ColWidthPerc(50, grid.Widget(w.progressGauge, container.Border(linestyle.Light), container.BorderTitle("Progress"))),
grid.ColWidthPerc(50, grid.Widget(w.navi, container.Border(linestyle.Light))),
)

Expand Down
6 changes: 3 additions & 3 deletions gui/widgets.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ func newTextInput(label, placeHolder string, cells int) (*textinput.TextInput, e

func newGauge() (*gauge.Gauge, error) {
return gauge.New(
gauge.Height(1),
gauge.Border(linestyle.Light),
gauge.BorderTitle("Progress"),
//gauge.Height(1),
gauge.Border(linestyle.None),
//gauge.BorderTitle("Progress"),
)
}

0 comments on commit 2ea1f4b

Please sign in to comment.