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

Square bezel style (BezelStyle::RegularSquare) makes button height to become huge vs Rounded #134

Open
eugenesvk opened this issue Nov 13, 2024 · 0 comments

Comments

@eugenesvk
Copy link
Contributor

In this example of two buttons in a single view the bezel style has a huge effet on button height: without the comment the buttons take up the full height of the screen

btnSquare

but then with the line uncommented and setting a rounded style even for one button makes both have regular size

btnRound
    y.set_bezel_style(BezelStyle::RegularSquare);
    n.set_bezel_style(BezelStyle::RegularSquare); // BUGS: RegularSquare, ShadowlessSquare,SmallSquare,TexturedSquare break become vertical 100% of the height
    // n.set_bezel_style(BezelStyle::Rounded); // OK even if button Y is untouched
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

1 participant