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

Slider Bug; 3 line but only 1 line valid #830

Open
zzzzzzzZz-chow opened this issue Mar 23, 2024 · 2 comments
Open

Slider Bug; 3 line but only 1 line valid #830

zzzzzzzZz-chow opened this issue Mar 23, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@zzzzzzzZz-chow
Copy link

hbox({ button1->Render(), slider->Render(), button2->Render()});
will show:
button1 slider[---------------------------] button2
---------------------------- <-bug
---------------------------- <-bug

@zzzzzzzZz-chow
Copy link
Author

屏幕截图(5)

@ArthurSonzogni
Copy link
Owner

Hi @zzzzzzzZz-chow
Thanks! This is a known problem. We probably should fix it.

In the meantime, you might want to try the more generic Slider without a label and the underline:

auto slider = Slider({
  .value = &value,
  .min = 0,
  .max = 100,
  .increment= 20,
});

@ArthurSonzogni ArthurSonzogni added the bug Something isn't working label Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants