diff options
| author | Jeff Carr <[email protected]> | 2024-01-05 13:35:01 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-05 13:35:01 -0600 |
| commit | 8ae3b987acf65f6a1f8ca01060ebb0eeb42aae4d (patch) | |
| tree | d8dbef56aed0e8d8c4a8b2ae64ee555fd66badff /gocui/tab.go | |
| parent | 327e14f05154b1cfdb9af27b387cc3227cedca0d (diff) | |
everything against 'gui/widget'
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gocui/tab.go')
| -rw-r--r-- | gocui/tab.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gocui/tab.go b/gocui/tab.go index d1b869b..382438c 100644 --- a/gocui/tab.go +++ b/gocui/tab.go @@ -4,7 +4,7 @@ package main import ( "strings" - "go.wit.com/gui/toolkits" + "go.wit.com/gui/widget" ) func (w *guiWidget) Width() int { @@ -50,13 +50,13 @@ func (n *node) gocuiSetWH(sizeW, sizeH int) { func redoWindows(nextW int, nextH int) { for _, n := range me.rootNode.children { - if n.WidgetType != toolkit.Window { + if n.WidgetType != widget.Window { continue } w := n.tk var tabs bool for _, child := range n.children { - if (child.WidgetType == toolkit.Tab) { + if (child.WidgetType == widget.Tab) { tabs = true } } @@ -86,7 +86,7 @@ func redoWindows(nextW int, nextH int) { func (p *node) redoTabs(nextW int, nextH int) { for _, n := range p.children { - if n.WidgetType != toolkit.Tab { + if n.WidgetType != widget.Tab { continue } w := n.tk |
