summaryrefslogtreecommitdiff
path: root/controlPanelWindow.go
diff options
context:
space:
mode:
Diffstat (limited to 'controlPanelWindow.go')
-rw-r--r--controlPanelWindow.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/controlPanelWindow.go b/controlPanelWindow.go
index 827e6c3..c9e1917 100644
--- a/controlPanelWindow.go
+++ b/controlPanelWindow.go
@@ -46,13 +46,14 @@ func makeMainWindow() {
func statusGrid(n *gui.Node) {
problems := n.NewGroup("status")
- grid := problems.NewGrid("nuts", 3, 1)
+ grid := problems.RawGrid()
grid.NewLabel("hostname =")
me.hostnameStatus = grid.NewLabel("invalid")
grid.NewButton("Linux Status", func() {
me.statusOS.Toggle()
})
+ grid.NextRow()
me.statusIPv6 = gadgets.NewOneLiner(grid, "DNS Lookup")
me.statusIPv6.SetText("known")
@@ -62,6 +63,7 @@ func statusGrid(n *gui.Node) {
}
me.digStatus.window.Toggle()
})
+ grid.NextRow()
grid.NewLabel("DNS Status")
me.DnsStatus = grid.NewLabel("unknown")
@@ -71,6 +73,7 @@ func statusGrid(n *gui.Node) {
}
me.statusDNS.window.Toggle()
})
+ grid.NextRow()
grid.NewLabel("DNS API")
me.DnsAPIstatus = grid.NewLabel("unknown")
@@ -85,6 +88,7 @@ func statusGrid(n *gui.Node) {
}
}
})
+ grid.NextRow()
}
func myDefaultExit(n *gui.Node) {