summaryrefslogtreecommitdiff
path: root/andlabs/label.go
blob: 4199059c51b8e83c136509a1dc9d221ebb9d4233 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package main

import (
	"github.com/andlabs/ui"
	_ "github.com/andlabs/ui/winmanifest"
)

func (p *node) newLabel(n *node) {
	newt := new(guiWidget)
	c := ui.NewLabel(getString(n.value))
	newt.uiLabel = c
	newt.uiControl = c

	n.tk = newt
	p.place(n)
}