Add a window title and run go fmt.

This commit is contained in:
Greg 2019-09-06 21:14:06 -04:00
parent dd18765a80
commit 44cab96fff
3 changed files with 21 additions and 20 deletions

View File

@ -135,7 +135,9 @@ func saveConf(fds ...*os.File) {
}
func eventLoop() {
w := app.NewWindow(app.WithWidth(ui.Dp(250)))
w := app.NewWindow(
app.WithWidth(ui.Dp(250)),
app.WithTitle("passgo"))
q := w.Queue()
var c ui.Config
ops := new(ui.Ops)

View File

@ -127,4 +127,3 @@ func (b *Button) Layout(c ui.Config, q input.Queue, ops *ui.Ops, cs layout.Const
func (b *Button) Clicked() bool {
return b.clicked
}