diff options
Diffstat (limited to 'gui.go')
-rw-r--r-- | gui.go | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -49,6 +49,13 @@ func (l *Limox) draw(e system.FrameEvent) { return btn.Layout(gtx) }, ), + layout.Rigid( + func(gtx layout.Context) layout.Dimensions { + btn := material.Button(l.Theme, &l.DisconnectButton, + "Disconnect") + return btn.Layout(gtx) + }, + ), ) e.Frame(gtx.Ops) |