summaryrefslogtreecommitdiff
path: root/treeAdd.go
diff options
context:
space:
mode:
Diffstat (limited to 'treeAdd.go')
-rw-r--r--treeAdd.go14
1 files changed, 8 insertions, 6 deletions
diff --git a/treeAdd.go b/treeAdd.go
index 766e373..40b03ba 100644
--- a/treeAdd.go
+++ b/treeAdd.go
@@ -42,17 +42,17 @@ func addWidget(n *tree.Node) {
switch n.WidgetType {
case widget.Root:
log.Log(INFO, "setStartWH() rootNode w.id =", n.WidgetId, "w.name", n.String())
- tk.color = &colorRoot
+ // tk.color = &colorRoot
setFake(n)
return
case widget.Flag:
- tk.color = &colorFlag
+ // tk.color = &colorFlag
setFake(n)
return
case widget.Window:
tk.frame = false
tk.labelN = tk.GetText() + " X"
- tk.setColor(&colorWindow)
+ // tk.setColor(&colorWindow)
me.newWindowTrigger <- tk
redoWindows(0, 0)
hideHelp()
@@ -64,7 +64,7 @@ func addWidget(n *tree.Node) {
n.State.Label = "moreSTDOUT"
return
case widget.Tab:
- tk.color = &colorTab
+ // tk.color = &colorTab
return
case widget.Button:
if tk.node.IsEnabled() {
@@ -84,10 +84,12 @@ func addWidget(n *tree.Node) {
case widget.Textbox:
n.State.Label = ""
tk.labelN = " "
- tk.color = &colorDropdown
+ // tk.color = &colorDropdown
+ tk.setColorInput()
return
case widget.Combobox:
- tk.color = &colorCombobox
+ // tk.color = &colorCombobox
+ tk.setColorInput()
return
case widget.Box:
// tk.color = &colorBox