Page 1 of 1

% textfield/slider

PostPosted: Fri Nov 29, 2019 3:18 am
by 3d0g
OK, properly chagrined, I upgraded to 1.2112 today.

Only thing is, now I see these nifty percentage sliders and I want one for manually setting laser power!

Linking a textfield to a slider is no problem but how is it working with a % value? My test slider goes to 0 as soon as a percent sign is entered.

Re: % textfield/slider

PostPosted: Fri Nov 29, 2019 6:19 am
by dezsoe
Yes. Sliders work only with numeric fields. Put the % on the backgrond and align your numeric field to right.

Re: % textfield/slider

PostPosted: Fri Nov 29, 2019 1:21 pm
by 3d0g
Yeah, that's how I've got it working now but I wanna know how the feed and spindle overrides are doing %!

Re: % textfield/slider

PostPosted: Fri Nov 29, 2019 1:45 pm
by ger21
They are hard coded to work that way.

Re: % textfield/slider

PostPosted: Mon Dec 02, 2019 10:33 pm
by 3d0g
Cheaters! :D

% on the background worked good enough.

uccnc.png