draw2d icon indicating copy to clipboard operation
draw2d copied to clipboard

Horizontally center justifying text within rectangle

Open geoffbullen opened this issue 4 years ago • 1 comments

Hi there,

I am centering the text within a rectangle using draw2d.layout.locator.CenterLocator();. However I can't figure out how to horizontally center the actual text. I've tried setting attributes and css.

image

Whatever I do it stays left justified

Thanks!

geoffbullen avatar Jun 30 '20 01:06 geoffbullen

hi @geoffbullen did you find a solution for that?

Samanoova avatar Apr 21 '21 18:04 Samanoova