summaryrefslogtreecommitdiff
path: root/andlabs/box.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-15 16:11:40 -0600
committerJeff Carr <[email protected]>2024-01-15 16:11:40 -0600
commit29c39d7a1cbc1f071fa819e589fa6ed93fcb7d80 (patch)
tree4081338b6e1ed2e1cc26f3153f1eee3070873558 /andlabs/box.go
parent708ea661988fd0e4886fc63f3f6dffe25b6fa276 (diff)
Destroy window and node from binary treev0.12.3
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'andlabs/box.go')
-rw-r--r--andlabs/box.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/andlabs/box.go b/andlabs/box.go
index 290c06b..d06bf60 100644
--- a/andlabs/box.go
+++ b/andlabs/box.go
@@ -3,8 +3,8 @@ package main
import (
"go.wit.com/gui/widget"
- "github.com/andlabs/ui"
- _ "github.com/andlabs/ui/winmanifest"
+ "go.wit.com/dev/andlabs/ui"
+ _ "go.wit.com/dev/andlabs/ui/winmanifest"
)
// make new Box here
@@ -17,7 +17,7 @@ func (p *node) newBox(n *node) {
} else {
box = ui.NewVerticalBox()
}
- box.SetPadded(padded)
+ box.SetPadded(true)
newt.uiBox = box
newt.uiControl = box