Skip to content
Snippets Groups Projects
Commit dbeba599 authored by Andreas Wandinger's avatar Andreas Wandinger
Browse files

Fixed a layout constant.

refs 610
parent 71618008
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ import org.fortiss.tooling.kernel.ui.service.IModelElementHandlerService;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating GREEN Hash: 450841556180E967B0BF5BC0756859E7
* @ConQAT.Rating GREEN Hash: C885BD2D215A4265082BE37638A01D23
*/
public abstract class ElementEditPartBase<T extends ILayoutedModelElement & INamedCommentedElement> extends
PositionedEditPartBase<T> {
......@@ -108,7 +108,7 @@ public abstract class ElementEditPartBase<T extends ILayoutedModelElement & INam
labelBounds.y += (labelBounds.height - textBounds.height) / 2;
labelBounds.x += 2 * DefaultLayoutConstants.DEFAULT_SHAPE_INSETS;
labelBounds.width -= 4 * DefaultLayoutConstants.DEFAULT_SHAPE_INSETS;
labelBounds.height = (int)(textBounds.height * 1.5);
labelBounds.height = textBounds.height * 2;
return labelBounds;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment