diff options
| author | Jeff Carr <[email protected]> | 2024-02-05 03:19:08 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-05 03:19:08 -0600 |
| commit | a15aea03ea4d0bc73d3773f7c77b380caa57153c (patch) | |
| tree | e3da122003d900d5665f889b180bc4a3b7be0d5a /window.go | |
| parent | a907a4418a1f1d027b288b1bbd91a43b103f29f9 (diff) | |
rename to drawView()
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'window.go')
| -rw-r--r-- | window.go | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -4,6 +4,7 @@ import ( "go.wit.com/widget" ) +// re-draws the buttons for each of the windows func (w *guiWidget) redoWindows(nextW int, nextH int) { var startW int = nextW var startH int = nextH @@ -19,9 +20,7 @@ func (w *guiWidget) redoWindows(nextW int, nextH int) { child.gocuiSetWH(nextW, nextH) child.Hide() - // use the direct method recreateView() to - // bypass sanity checks here (fix this?) - child.recreateView() + child.drawView() sizeW := child.gocuiSize.Width() nextW += sizeW + 4 child.redoWindows(startW+3, startH+2) |
