diff options
| author | Jeff Carr <[email protected]> | 2019-06-13 14:17:05 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-06-13 14:17:05 -0700 |
| commit | c567507957eb3ad6f628322762dff982c177cca8 (patch) | |
| tree | 3708faa3eb74b1f366ce29eb3b557490d6ddf5ce /area.go | |
| parent | 597325f8921e4e79cbf51d176ba0cf4617400896 (diff) | |
ready to implement Destroy()
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'area.go')
| -rw-r--r-- | area.go | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -109,6 +109,7 @@ func (ah GuiArea) KeyEvent(a *ui.Area, ke *ui.AreaKeyEvent) (handled bool) { func ShowTextBox(box *GuiBox, newText *ui.AttributedString, custom func(*GuiButton), name string) { log.Println("ShowTextBox() START") + gw := box.Window if (gw == nil) { log.Println("ShowTextBox() ERROR gw = nil") @@ -123,10 +124,10 @@ func ShowTextBox(box *GuiBox, newText *ui.AttributedString, custom func(*GuiButt newbox.Name = name hbox := ui.NewVerticalBox() newbox.UiBox = hbox + */ // TODO: allow padded & axis here - hbox.SetPadded(true) - */ + box.UiBox.SetPadded(true) // add(gw.BoxMap["MAINBOX"], newbox) |
