diff options
| author | Jeff Carr <[email protected]> | 2025-02-05 10:41:10 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-05 10:41:10 -0600 |
| commit | fb8d1d0940747e647fe48856d5a558ba333d8e90 (patch) | |
| tree | 141cd5668fff92adbb2852fafb71633f3f62ed80 /window.go | |
| parent | 12f3d5ac5cb4add74eb9a053ae1804c661654d09 (diff) | |
draws widgets in the right order but wrong place
Diffstat (limited to 'window.go')
| -rw-r--r-- | window.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -21,10 +21,11 @@ func (tk *guiWidget) redrawWindow(w int, h int) { tk.DrawAt(w, h) tk.setColor(&colorActiveW) // sets the window to Green BG tk.placeWidgets(w, h) // compute the sizes & places for each widget - tk.showWidgets() tk.setFullSize() me.baseGui.SetView(tk.cuiName, tk.gocuiSize.w0, tk.gocuiSize.h0, tk.gocuiSize.w1, tk.gocuiSize.h1, 0) + tk.Show() + tk.showWidgets() } // re-draws the buttons for each of the windows |
