From 49202eeafdad8e5780fefdad3d2f87fd4354725e Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 3 Mar 2023 14:41:38 -0600 Subject: release as v0.6.5 good standard release really clean interaction to plugin really clean debug flags implementation common doAppend() idea, but it probably won't work re-implement combobox. this code base almost doesn't suck slider & spinner set values now tab set margin works convert dropdown to Send() lots of other changes to try to implement single line Entry() I guess use golang file names even though internalally the go developers use underscore chars in the actual go sources. Maybe there is a reason for that? go channel debug window does something make a debug window for channels. add sample icons Signed-off-by: Jeff Carr --- toolkit/andlabs/tab.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'toolkit/andlabs/tab.go') diff --git a/toolkit/andlabs/tab.go b/toolkit/andlabs/tab.go index 995bbbd..aaac102 100644 --- a/toolkit/andlabs/tab.go +++ b/toolkit/andlabs/tab.go @@ -63,7 +63,7 @@ func tabSetMargined(tab *ui.Tab) { } func rawTab(w *ui.Window, name string) *andlabsT { - var t andlabsT + var newt andlabsT log(debugToolkit, "gui.toolkit.NewTab() ADD", name) if (w == nil) { @@ -83,10 +83,10 @@ func rawTab(w *ui.Window, name string) *andlabsT { tabSetMargined(tab) // TODO: run this in the right place(?) w.SetChild(tab) - t.uiWindow = w - t.uiTab = tab - t.uiBox = hbox - return &t + newt.uiWindow = w + newt.uiTab = tab + newt.uiBox = hbox + return &newt } func (t *andlabsT) appendTab(name string) *andlabsT { -- cgit v1.2.3