Add a window title and run go fmt.
This commit is contained in:
parent
dd18765a80
commit
44cab96fff
|
@ -135,7 +135,9 @@ func saveConf(fds ...*os.File) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func eventLoop() {
|
func eventLoop() {
|
||||||
w := app.NewWindow(app.WithWidth(ui.Dp(250)))
|
w := app.NewWindow(
|
||||||
|
app.WithWidth(ui.Dp(250)),
|
||||||
|
app.WithTitle("passgo"))
|
||||||
q := w.Queue()
|
q := w.Queue()
|
||||||
var c ui.Config
|
var c ui.Config
|
||||||
ops := new(ui.Ops)
|
ops := new(ui.Ops)
|
||||||
|
|
|
@ -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 {
|
func (b *Button) Clicked() bool {
|
||||||
return b.clicked
|
return b.clicked
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user