diff options
| author | Jeff Carr <[email protected]> | 2023-03-03 14:41:38 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-03-03 14:41:38 -0600 |
| commit | 49202eeafdad8e5780fefdad3d2f87fd4354725e (patch) | |
| tree | 5d749b5d4835c7a0395bd1f87b5d2d1d91b14a08 /toolkit/andlabs/spinner.go | |
| parent | 80317ec89c94beadcbf3775f84c6010b5ceef302 (diff) | |
release as v0.6.5v0.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 <[email protected]>
Diffstat (limited to 'toolkit/andlabs/spinner.go')
| -rw-r--r-- | toolkit/andlabs/spinner.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toolkit/andlabs/spinner.go b/toolkit/andlabs/spinner.go index 1a7430e..2ee556c 100644 --- a/toolkit/andlabs/spinner.go +++ b/toolkit/andlabs/spinner.go @@ -7,7 +7,7 @@ import ( _ "github.com/andlabs/ui/winmanifest" ) -func (t andlabsT) newSpinner(w *toolkit.Widget) *andlabsT { +func (t *andlabsT) newSpinner(w *toolkit.Widget) *andlabsT { // make new node here log(debugToolkit, "newSpinner()", w.X, w.Y) var newt andlabsT @@ -24,6 +24,7 @@ func (t andlabsT) newSpinner(w *toolkit.Widget) *andlabsT { t.uiBox.Append(s, stretchy) s.OnChanged(func(s *ui.Spinbox) { + newt.tw.I = newt.uiSpinbox.Value() newt.commonChange(newt.tw) }) |
