Community
Participate
Working Groups
WrapLabel's text cut-off happens if we set textwrap alignment as center. Attached gif shows the behaviour. (Note: if textwrap alignment set to left align, text does display appropriate, but expects same behaviour with center alignment.) Here how WrapLabel's attributes are set. protected IFigure createFigure() { WrapLabel labelFigure= new WrapLabel(); labelFigure.setIconAlignment(PositionConstants.CENTER); labelFigure.setLabelAlignment(PositionConstants.CENTER); labelFigure.setTextPlacement(PositionConstants.SOUTH); labelFigure.setTextWrap(true); labelFigure.setTextWrapAlignment(PositionConstants.CENTER); }
Created attachment 69416 [details] wrap text cut-off figure wrap text cut-off figure
Fix had been delivered
*** Bug 160380 has been marked as a duplicate of this bug. ***
[target cleanup] 2.0 RC was the original target milestone for this bug
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug