From dd5232fa6ba887c0b3fbc8dba3f91d81eef6a409 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 7 Feb 2025 03:09:16 -0600 Subject: more on a dark mode --- treeAdd.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'treeAdd.go') 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: -- cgit v1.2.3