summaryrefslogtreecommitdiff
path: root/toolkit/andlabs/box.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-01 15:43:50 -0600
committerJeff Carr <[email protected]>2024-01-01 15:43:50 -0600
commit4e7bbd89900a733593f0848778103c1cf1a7145d (patch)
tree22cd22124dd3ecba7c2a866b882d39aaf790d670 /toolkit/andlabs/box.go
parent53ce3a8252090d5fb75d7fc1e3cd75a72c1415c6 (diff)
reorg to final resting place at go.wit.com/gui/guiv0.9.5
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/andlabs/box.go')
-rw-r--r--toolkit/andlabs/box.go29
1 files changed, 0 insertions, 29 deletions
diff --git a/toolkit/andlabs/box.go b/toolkit/andlabs/box.go
deleted file mode 100644
index e33b7a1..0000000
--- a/toolkit/andlabs/box.go
+++ /dev/null
@@ -1,29 +0,0 @@
-package main
-
-import (
- "github.com/andlabs/ui"
- _ "github.com/andlabs/ui/winmanifest"
-)
-
-// make new Box here
-func (p *node) newBox(n *node) {
- log(debugToolkit, "newBox()", n.Name)
-
- newt := new(guiWidget)
- var box *ui.Box
-
- log(debugToolkit, "rawBox() create", n.Name)
-
- if (n.B) {
- box = ui.NewHorizontalBox()
- } else {
- box = ui.NewVerticalBox()
- }
- box.SetPadded(padded)
-
- newt.uiBox = box
- newt.uiControl = box
- newt.boxC = 0
- n.tk = newt
- p.place(n)
-}