All selectors do not work for SliderInt label

It’s difficult to send a bug project because you’d need to manipulate the code to see it anyways.

The problem with SliderInt label is that its min-width is set to 150px, but if I want to override that I need to find the right selector:

.unity-slider_int__label {
    min-width: 100px;
}

Does not work

SliderInt > Label {
    min-width: 100px;
}

Does not work

.unity-base-slider > .unity-base-slider__label {
    min-width: 100px;
}

works

Hi,

Please report a bug using: Help → Report a bug, this will ensure we correctly track the issue.

Thanks

Hi necerone,

.unity-slider_int__label was a typo, it should have been .unity-slider-int__label. SliderInt > Label is a bug, because if you set background-color it works but not min-width.

Case 1408739