fontra icon indicating copy to clipboard operation
fontra copied to clipboard

Alternative styling for disabled range-slider

Open ollimeier opened this issue 9 months ago • 5 comments

Fixes #1341

const sliderDisabled = false; //true; -> this is a hack to change the axis sliders to the disabled version

The following screenshot shows the original style of the range-sliders: Screenshot 2024-05-07 at 16 20 47

The following screenshot shows a possible alternative styling for the disabled range-sliders (together with number and label): Screenshot 2024-05-07 at 16 21 05

ollimeier avatar May 07 '24 14:05 ollimeier

And the same comparison for dark mode: Default: Screenshot 2024-05-07 at 16 35 28

Disabled: Screenshot 2024-05-07 at 16 35 06

ollimeier avatar May 07 '24 14:05 ollimeier

For demonstration I looped through all axis a second time and displayed them as 'disabled range-sliders'. I hope this give you a better impression. I like your feedback 'leave out the outline for the numeric value completely' a lot. It's much better now:

Screenshot 2024-05-08 at 14 31 05 Screenshot 2024-05-08 at 14 31 14

ollimeier avatar May 08 '24 12:05 ollimeier

Looking very good. I would like the vertical spacing to be quite a bit tighter, though.

justvanrossum avatar May 08 '24 18:05 justvanrossum

Suggestion for the mockup: instead of looping through all axes, just duplicate each axis with a disabled version of itself.

justvanrossum avatar May 08 '24 18:05 justvanrossum

Looking very good. I would like the vertical spacing to be quite a bit tighter, though.

Hi Just, I am not sure how to make the vertical spacing a bit tighter without changing the overall design of the axis in this panel. As you can see in the following screenshot there is a gap in between all rows. The gap is set to gap: 0.4em;. We can change this gap value, but it will have an effect to the general design of how the axis are displayed in this panel. Why I have not touched it yet. Any ideas or suggestions are very welcome.

Screenshot 2024-05-09 at 11 24 46

ollimeier avatar May 09 '24 09:05 ollimeier