Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uiSlider bug on uiHorizontalFill #2165

Open
rafi0 opened this issue Feb 26, 2024 · 0 comments
Open

uiSlider bug on uiHorizontalFill #2165

rafi0 opened this issue Feb 26, 2024 · 0 comments

Comments

@rafi0
Copy link
Contributor

rafi0 commented Feb 26, 2024

Code like this:

uiVerticalStack(150.0) {
    uiHorizontalFill {
      uiSlider(value = 0, min = -5, max = 5, step = 1) {
        this.marks = true
      }
      uiText("sample")
    }
  }

produces this result:
Zrzut ekranu 2024-02-26 215110

however simply changing the order of uiSlider and uiText works correctly:

Zrzut ekranu 2024-02-26 215226
code for that:

uiVerticalStack(150.0) {
    uiHorizontalFill {
      uiText("sample")
      uiSlider(value = 0, min = -5, max = 5, step = 1) {
        this.marks = true
      }
    }
  }
@rafi0 rafi0 changed the title uiSlider on uiHorizontalFill uiSlider bug on uiHorizontalFill Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Pending
Development

No branches or pull requests

1 participant