Community
Participate
Working Groups
Steps to reproduce the problem: 1. Drag and drop a rectangle from the geometric shape palette drawer of a free diagram. 2. Select the shape and go to the Appearance tab of the Properties view 3. Click on one of the text justification button (right, center, left) Expected Result: The text of the geometric shape is aligned accordingly to the right, center or left. Actual Result: Nothing happens. The text remains centered as the default. workaround:
Created attachment 241843 [details] Patch to fix this issue For Label delegate, setTextAlignment works only if *if the text's width or height (depending on * the location of the text relative to the icon) is smaller than the icon's * width or height So if there is no icon,setAlignment should be used * Sets the alignment of the label (icon and text) within the figure.
Fixed in master for Luna with commit: http://git.eclipse.org/c/gmf-runtime/org.eclipse.gmf-runtime.git/commit/?id=f30b4c9da5734bb3ebd833a80c0e56b55acab5b2