start working on Expand()
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
a6a7f55d5b
commit
0fd60847fc
2
go.mod
2
go.mod
|
@ -5,7 +5,7 @@ go 1.21.4
|
|||
require (
|
||||
go.wit.com/dev/andlabs/ui v0.0.1
|
||||
go.wit.com/log v0.5.5
|
||||
go.wit.com/toolkits/tree v0.0.2
|
||||
go.wit.com/toolkits/tree v0.0.3
|
||||
go.wit.com/widget v1.1.5
|
||||
)
|
||||
|
||||
|
|
4
go.sum
4
go.sum
|
@ -4,7 +4,7 @@ go.wit.com/dev/davecgh/spew v1.1.4 h1:C9hj/rjlUpdK+E6aroyLjCbS5MFcyNUOuP1ICLWdNe
|
|||
go.wit.com/dev/davecgh/spew v1.1.4/go.mod h1:sihvWmnQ/09FWplnEmozt90CCVqBtGuPXM811tgfhFA=
|
||||
go.wit.com/log v0.5.5 h1:bK3b94uVKgev4jB5wg06FnvCFBEapQICTSH2YW+CWr4=
|
||||
go.wit.com/log v0.5.5/go.mod h1:BaJBfHFqcJSJLXGQ9RHi3XVhPgsStxSMZRlaRxW4kAo=
|
||||
go.wit.com/toolkits/tree v0.0.2 h1:QoNuzCgUrWaGTTK20vsrKzgfay7ioi2QMdiFEJArVHE=
|
||||
go.wit.com/toolkits/tree v0.0.2/go.mod h1:n4F2seonm1aYMml+YGOpCqWo0bkFwT/RH834J6f5/iE=
|
||||
go.wit.com/toolkits/tree v0.0.3 h1:bhPCKBEuZ3uxUC5saU5AF3uotvTVyt6NMgeG0BDg7CI=
|
||||
go.wit.com/toolkits/tree v0.0.3/go.mod h1:n4F2seonm1aYMml+YGOpCqWo0bkFwT/RH834J6f5/iE=
|
||||
go.wit.com/widget v1.1.5 h1:jx5hJ2WLZJnCcvMuaLHegzpNlzwo+0kOkzsRkzRiB30=
|
||||
go.wit.com/widget v1.1.5/go.mod h1:I8tnD3x3ECbB/CRNnLCdC+uoyk7rK0AEkzK1bQYSqoQ=
|
||||
|
|
8
place.go
8
place.go
|
@ -75,7 +75,11 @@ func place(p *tree.Node, n *tree.Node) bool {
|
|||
ptk.uiBox = rawBox(n)
|
||||
ptk.uiGroup.SetChild(ptk.uiBox)
|
||||
}
|
||||
if n.WidgetType == widget.Textbox {
|
||||
ptk.uiBox.Append(tk.uiControl, true)
|
||||
} else {
|
||||
ptk.uiBox.Append(tk.uiControl, stretchy)
|
||||
}
|
||||
return true
|
||||
case widget.Tab:
|
||||
if ptk.uiTab == nil {
|
||||
|
@ -97,7 +101,11 @@ func place(p *tree.Node, n *tree.Node) bool {
|
|||
log.Warn("SPEEDY Add Something to Box", n.WidgetId, n.GetProgName())
|
||||
log.Log(INFO, "place() uiBox =", ptk.uiBox)
|
||||
log.Log(INFO, "place() uiControl =", tk.uiControl)
|
||||
if n.WidgetType == widget.Textbox {
|
||||
ptk.uiBox.Append(tk.uiControl, true)
|
||||
} else {
|
||||
ptk.uiBox.Append(tk.uiControl, stretchy)
|
||||
}
|
||||
ptk.boxC += 1
|
||||
return true
|
||||
case widget.Window:
|
||||
|
|
Loading…
Reference in New Issue