-
Notifications
You must be signed in to change notification settings - Fork 200
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
TextBox - box is not wide enough for the string value argument #120
Comments
Sorry for taking a long time to respond. Could you post here what fixes you've made? |
pulling an image snapshot from my fork of nanogui, commit 0eb28e5 : (from June 19th). Comments: the second section near: @@ -189,7 +189,10 |
When I pass in the default text to the TextBox constructor, I end up with a TextBox that is too short for the text.
I did not see a way to override the width. Is there some setting I am missing, or is nanogui miscalculating the string width based on font?
Looks like I can mess with the
TextBox::preferred_size
method, but I would like hear if this is known problem before I dig in.Details:
Windows 10, VS2019, clang-cl
git: master branch, last commit was Feb 5,2022 : c650530
The text was updated successfully, but these errors were encountered: