21 lines
316 B
Go
21 lines
316 B
Go
package main
|
|
|
|
import (
|
|
"go.wit.com/gui/widget"
|
|
|
|
"go.wit.com/dev/andlabs/ui"
|
|
_ "go.wit.com/dev/andlabs/ui/winmanifest"
|
|
)
|
|
|
|
func (p *node) newGroup(n *node) {
|
|
newt := new(guiWidget)
|
|
|
|
g := ui.NewGroup(widget.GetString(n.value))
|
|
g.SetMargined(true)
|
|
newt.uiGroup = g
|
|
newt.uiControl = g
|
|
|
|
n.tk = newt
|
|
p.place(n)
|
|
}
|