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

stretching behavior #208

Closed
Xeverous opened this issue Aug 18, 2020 · 3 comments
Closed

stretching behavior #208

Xeverous opened this issue Aug 18, 2020 · 3 comments

Comments

@Xeverous
Copy link
Contributor

This probably isn't a bug, but I don't get why the slider still stretches vertically.

        no_vstretch(layer(
            no_vstretch(slider(
                no_vstretch(hsize(10, rbox(colors::medium_blue, 5))),
                vsize(20, box(colors::black)),
                0.5
            )),
            box(colors::black)
        ))
@djowel
Copy link
Member

djowel commented Aug 26, 2020

no_vstretch only applies to space allocation in tiles.

Use fixed size instead. Closing this now.

@djowel djowel closed this as completed Aug 26, 2020
@djowel djowel reopened this Aug 26, 2020
@djowel
Copy link
Member

djowel commented Aug 26, 2020

Oh wait... reopening. It might be possible to apply this to align elements as well. I'll see what I can do...

@djowel djowel mentioned this issue Sep 13, 2020
15 tasks
@djowel
Copy link
Member

djowel commented Sep 13, 2020

Added to #216

@djowel djowel closed this as completed Sep 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants