Objo.
Feedback Forum Docs Objo Studio
Feedback

Bug #1136

Graphics.TextWidth now includes trailing whitespace

Status
Fixed
Fixed in
v26.8.4
Source discussion
https://forum.objo.dev/d/805-graphicstextheight
Last updated
2026-08-17

Upvotes

0 upvotes

Uses your Objo forum account.

Public summary

Graphics.TextWidth excludes trailing spaces from its result, so text measurement does not represent the complete string. This makes caret positioning and other canvas-based text layout incorrect whenever the measured prefix ends in whitespace. Graphics.TextWidth should include leading, trailing, and all-whitespace strings while preserving the current font and character-spacing behaviour.

Objo.

Build apps visually, deploy anywhere.

Feedback is a public read-only status mirror for Objo Studio.