diff options
| author | Jeff Carr <[email protected]> | 2025-02-09 12:57:42 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-09 12:57:42 -0600 |
| commit | bb2732b62180322d2ff3b2824cc9a11e047f6aaa (patch) | |
| tree | 7eef9049dfab6f094d5a9188447609d1d7bb07b8 /treeAdd.go | |
| parent | 00d1256eba04de1fc3cf0981c383f03bf9f8ef54 (diff) | |
color code cleanups
Diffstat (limited to 'treeAdd.go')
| -rw-r--r-- | treeAdd.go | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -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 |
