diff options
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) |
