summaryrefslogtreecommitdiff
path: root/gui.go
diff options
context:
space:
mode:
Diffstat (limited to 'gui.go')
-rw-r--r--gui.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/gui.go b/gui.go
index 8fcfed6..d3f6b2d 100644
--- a/gui.go
+++ b/gui.go
@@ -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)