summaryrefslogtreecommitdiff
path: root/treeAdd.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-07 03:09:16 -0600
committerJeff Carr <[email protected]>2025-02-07 03:09:16 -0600
commitdd5232fa6ba887c0b3fbc8dba3f91d81eef6a409 (patch)
tree28ac41eaf6ccf28a0351027532dae8552ac79d7e /treeAdd.go
parent6ac82df94991ed25794bf28791e94cb98e01012b (diff)
more on a dark mode
Diffstat (limited to 'treeAdd.go')
-rw-r--r--treeAdd.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/treeAdd.go b/treeAdd.go
index e8e9834..ec1eb4a 100644
--- a/treeAdd.go
+++ b/treeAdd.go
@@ -47,7 +47,6 @@ func addWidget(n *tree.Node) {
case widget.Window:
tk.frame = false
tk.labelN = tk.GetText() + " X"
- // tk.color = &colorWindow
tk.setColor(&colorWindow)
me.newWindowTrigger <- tk
redoWindows(0, 0)
@@ -66,12 +65,10 @@ func addWidget(n *tree.Node) {
tk.setColorButton()
return
case widget.Checkbox:
- // tk.color = &colorCheckbox
tk.setColorInput()
tk.labelN = "X " + n.State.Label
return
case widget.Dropdown:
- // tk.color = &colorDropdown
tk.setColorInput()
return
case widget.Textbox:
@@ -93,11 +90,10 @@ func addWidget(n *tree.Node) {
setFake(n)
return
case widget.Group:
- // tk.color = &colorLabel
tk.frame = false
return
case widget.Label:
- tk.color = &colorLabel
+ tk.setColorLabel()
tk.frame = false
return
default: