diff options
| author | Jeff Carr <[email protected]> | 2023-05-09 18:34:09 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-05-09 18:34:09 -0500 |
| commit | b392c40969e105b00efa262042d647303d6fbc2c (patch) | |
| tree | 95e25e5e288c096df69c36e2293af5ebc17a1d78 /tab.go | |
| parent | 706bcef867ff2a26ab62a1e3d668ac441575df62 (diff) | |
andlabs: now attempt grid placement
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'tab.go')
| -rw-r--r-- | tab.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -22,8 +22,8 @@ func (n *Node) NewTab(text string) *Node { log(logError, "NewTab() parent =", n.parent) if (n.parent.WidgetType == toolkit.Root) { // also broken - log(logError, "NewTab() TODO: make a window here", n) - panic("NewTab did not get passed a window") + log(logError, "NewTab() TODO: make or find a window here", n) + panic("NewTab() did not get passed a window") } // go up the binary tree until we find a window widget to add a tab too return n.parent.NewTab(text) |
