-
Notifications
You must be signed in to change notification settings - Fork 9
SpinBox: Examples
Damian edited this page Apr 27, 2023
·
1 revision
Ok fair enough.
local sb = require("MDK.spinbox")
testSB = sb:new({
name = "testsb",
height = 30,
width = 40,
x = 100,
y = 400,
color = "dark_green",
min = -5,
max = 5,
delta = 1,
integer = true,
})
testSB = sb:new({
name = "testsb",
height = 30,
width = 40,
x = 100,
y = 400,
color = "firebrick",
min = 0,
max = 1,
delta = 0.1,
integer = false,
})
testSB = sb:new({
name = "testsb",
height = 30,
width = 40,
x = 100,
y = 400,
color = "DarkOrange",
activeButtonColor = "plum",
inactiveButtonColor = "purple",
min = 0,
max = 10,
delta = 1,
integer = true,
})