-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
[HELP] Doesn't size to text #123
Comments
Hi! 👋 |
Hi @SoftCircuits, Your issue is quite strange, can you provide a minimal reproduction code or a codepen (https://codepen.io/pen/)? Thanks 😊 |
@palcarazm Looks like the issue was easy to duplicate on CodePen. https://codepen.io/softcircuits/pen/NWOKQKv Thanks |
Thanks! I will debug and give you and answer as soon as possible. |
Hi @SoftCircuits, |
@palcarazm Thanks. Looks good. |
Describe the problem
My toggle labels are long than normal ("North to South" and "South to North"). And unfortunately, the labels word wrap: The control does not size itself wide enough for the text, and it sizes twice as high so that it can word wrap on secod line.
Even if I force it wider, it's still too tall.
I realize I can specify an exact width and height. But then it might not match the size of the text on some devices. The documentation says it calculates the size of the control. Is there any way to instruct the control to calculate it to put the text on a single line?
The text was updated successfully, but these errors were encountered: