summaryrefslogtreecommitdiff
path: root/andlabs/textbox.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-17 23:39:03 -0600
committerJeff Carr <[email protected]>2024-01-17 23:39:03 -0600
commita0baba0821441d9cf38f0b33fe12fb96925c6236 (patch)
tree2aece2a890c66c36b08524e117753817078ee58c /andlabs/textbox.go
parentbee272651ad38453aef27f098513f7be652c39bf (diff)
new paths
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'andlabs/textbox.go')
-rw-r--r--andlabs/textbox.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/andlabs/textbox.go b/andlabs/textbox.go
index 3748a14..1e90dd3 100644
--- a/andlabs/textbox.go
+++ b/andlabs/textbox.go
@@ -1,17 +1,19 @@
package main
import (
- "go.wit.com/gui/toolkits/tree"
+ "go.wit.com/toolkits/tree"
"go.wit.com/dev/andlabs/ui"
_ "go.wit.com/dev/andlabs/ui/winmanifest"
)
func newTextbox(p, n *tree.Node) {
- if notNew(n) { return }
+ if notNew(n) {
+ return
+ }
newt := new(guiWidget)
- if (n.State.Range.Low == 1) {
+ if n.State.Range.Low == 1 {
e := ui.NewEntry()
newt.uiEntry = e
newt.uiControl = e