-
Notifications
You must be signed in to change notification settings - Fork 2
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
Buggy text alignment in comboboxes. #112
Comments
Another possibility is that the "text length" function in my program is having difficulty due to lack of a null terminator. I'll see if I can fix this. |
Interesting idea... If there's no null-terminator, you can also set the Another thing to consider could be how your renderer gets the rendered text width? |
Yeah, it was my fault. My text width function wasn't being fed the "len" value of the width callback in Nuklear. Rectified this. |
Here's a video demonstrating a bizarre bug with text centering with comboboxes:
https://shadowmavericks.com/files/ShareX/tfury_2024-09-17_14-51-51.mp4
Potentially related to: Immediate-Mode-UI/Nuklear#646 (comment)
or perhaps the check against message width, is against the whole string, rather than the split portion, leaving blank space.
The text was updated successfully, but these errors were encountered: