Decimal in slider

Discuss GUI programming with the RapaGUI plugin here
Post Reply
papiosaur
Posts: 217
Joined: Fri Mar 31, 2023 1:34 pm

Decimal in slider

Post by papiosaur »

Hello,

is it possible to have decimal in a slider please?

i write min="0.1" max="1.0" but in the slider i have 0 or 1.

Thanks for your help
papiosaur
Posts: 217
Joined: Fri Mar 31, 2023 1:34 pm

Re: Decimal in slider

Post by papiosaur »

Ok, i will write the result in a text frame.
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Decimal in slider

Post by airsoftsoftwair »

papiosaur wrote: Wed Aug 28, 2024 10:56 am is it possible to have decimal in a slider please?
No, it's not possible. The value must be an integer.
papiosaur
Posts: 217
Joined: Fri Mar 31, 2023 1:34 pm

Re: Decimal in slider

Post by papiosaur »

ok, thanks for your answer.

Possible in a next version ?
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Decimal in slider

Post by airsoftsoftwair »

papiosaur wrote: Sun Sep 01, 2024 6:47 pm Possible in a next version ?
Unfortunately not. wxWidgets only supports integer steps. On Amiga it is possible, though, because MUI can actually do that. But you need to use MUI Royale then.
papiosaur
Posts: 217
Joined: Fri Mar 31, 2023 1:34 pm

Re: Decimal in slider

Post by papiosaur »

ok, thanks for your reply!
Post Reply