Objo.
Feedback Forum Docs Objo Studio
Feedback

Feature #1379

Allow Graphics.DrawText to vertically align unwrapped text

Status
Fixed
Fixed in
v26.9.1
Area
-
Source discussion
https://forum.objo.dev/d/1024-graphicsdrawtext-wrapwidth-0-or-1
Last updated
2026-09-08

Upvotes

0 upvotes

Uses your Objo forum account.

Public summary

Allow the five-argument Graphics.DrawText() overload to vertically align text within its boundingHeight when wrapWidth is zero or negative. Non-positive widths should continue to draw a single unwrapped line while VerticalTextAlignment.Middle and .Bottom position that line within the requested height. This avoids a separate text-measurement call when callers need vertically aligned text without wrapping.

Objo.

Build apps visually, deploy anywhere.

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