summaryrefslogtreecommitdiff
path: root/range.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-13 13:31:35 -0600
committerJeff Carr <[email protected]>2024-01-13 13:31:35 -0600
commit5a3f4a87dc19195c1ad232b6fc83e2ee31d4d475 (patch)
tree79a68d9a42589cfbc017024443b8e5af4f442f19 /range.go
parente198e7809671e06f6cbc5bd3618b741c04d48e4d (diff)
move to SetPad(), SetMargin() and SetExpand()v1.1.2
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'range.go')
-rw-r--r--range.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/range.go b/range.go
new file mode 100644
index 0000000..b110cb8
--- /dev/null
+++ b/range.go
@@ -0,0 +1,10 @@
+package widget
+
+// Range(1, 10) includes the values 1 and 10
+// almost all toolkits use integers so there doesn't
+// seem to be a good idea to use 'type any' here as it
+// just makes things more complicated for no good reason
+type RangeType struct {
+ Low int
+ High int
+}