godot icon indicating copy to clipboard operation
godot copied to clipboard

Fix read-only EditorSpinSlider display

Open MewPurPur opened this issue 2 years ago • 3 comments
trafficstars

Prevents these things from being displayed in read-only spinsliders.

image

Advances https://github.com/godotengine/godot-proposals/issues/6988 a little.

MewPurPur avatar Aug 12 '23 12:08 MewPurPur

Without the grabber showing, there is no indication of the slider's current value in relation to its minimum/maximum values. So if you e.g. see a 0 you don't know if the slider also accepts negative values, or if it's on the minimum already. Would it maybe possible to reduce the opacity instead of completely hiding it, so it's clear you can't edit it? Then again I can't think of many cases where a slider is read-only in the UI, so maybe it's not important.

RedMser avatar Aug 12 '23 13:08 RedMser

@RedMser It's only the grabber that doesn't show, the rest of the slider does.

MewPurPur avatar Aug 12 '23 13:08 MewPurPur

Poke poke. Should be an easy merge, nothing can really go wrong here.

MewPurPur avatar Feb 08 '24 22:02 MewPurPur

I would suggest rebasing for good measure, it's been 6 months.

akien-mga avatar Feb 09 '24 00:02 akien-mga

Thanks!

akien-mga avatar Feb 09 '24 17:02 akien-mga