fractional small-step for SF-ADJUSTMENT
Hi,
I wanted to have a spinner (roller-box), measurement in inches,
jumping by 0.0625 (1/16") every time user clicked the spinner.
Doesn't seem to work. Looks like small-step, large-step have to be
integral values.
That match what everyone else finds?
Sample code:
(define (wrf_test inBoardWidth inBoardWith2)
0
)
(script-fu-register "wrf_test"
"_A Test..."
"Testing Menu Naming" ; description
"Alan Campbell"
"no copyright"
"today"
""
; adjustment: "title" (start-value min-value max-value
; small-step large-step [int=0 or float=1] [slider=0 or roll-box=1])
SF-ADJUSTMENT "Board width:" (list 4.00 0 12 .03125 0.625 1 1)
SF-ADJUSTMENT "Board width:" (list 4.00 0 12 1 10 1 1)
SF-OPTION "Shoulder type" '("two" "none" "one")
)
(script-fu-menu-register "wrf_test" "/File/Create/")
Yrs,
Alan
24 hours in a day, 24 beers in a case.
Coincidence?
===================== +++++ =====================