We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This applies to both text_layer_get_max_used_size() and graphics_text_layout_get_max_used_size().
Those functions will return slightly smaller height, resulting in minor cuts such as bottom of letter g:
This code was used to generate above image:
GSize titleSize = text_layer_get_max_used_size(app_get_current_graphics_context(), &title); text_layer_set_size(&title, titleSize);
User fugounashi did some research of that issue in this thread: http://forums.getpebble.com/discussion/7147/text-layer-padding
Amount cut is not static (bigger fonts will be cut more).
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This applies to both text_layer_get_max_used_size() and graphics_text_layout_get_max_used_size().
Those functions will return slightly smaller height, resulting in minor cuts such as bottom of letter g:
This code was used to generate above image:
User fugounashi did some research of that issue in this thread: http://forums.getpebble.com/discussion/7147/text-layer-padding
Amount cut is not static (bigger fonts will be cut more).
The text was updated successfully, but these errors were encountered: