Skip to content
Snippets Groups Projects
Commit 2c4a16f4 authored by Markus Krug's avatar Markus Krug
Browse files

New branch, im using it to save all views that i will propaby not need

any longer in the master, but better safe than sorry
parent 05d41327
No related branches found
No related tags found
1 merge request!3Remove views
...@@ -260,7 +260,7 @@ public class IEViewEntityDrawingStrategy implements IAnnotationDrawingStrategy { ...@@ -260,7 +260,7 @@ public class IEViewEntityDrawingStrategy implements IAnnotationDrawingStrategy {
@Override @Override
public int getLineHeight(AnnotationFS anno) { public int getLineHeight(AnnotationFS anno) {
return (int) (IAnnotationDrawingStrategy.WIDGET_DEFAULT_LINEHEIGHT*2); return (int) (IAnnotationDrawingStrategy.WIDGET_DEFAULT_LINEHEIGHT*1.75);
} }
} }
...@@ -44,7 +44,6 @@ public class IEViewRelationDrawingStrategy implements IAnnotationDrawingStrategy ...@@ -44,7 +44,6 @@ public class IEViewRelationDrawingStrategy implements IAnnotationDrawingStrategy
// calculate the amount of space which is needed to display the features // calculate the amount of space which is needed to display the features
int amountOfSpace = FONTSIZE + 1; int amountOfSpace = FONTSIZE + 1;
widget.setLineSpacing(amountOfSpace + 10);
// get the bounds of the Annotation // get the bounds of the Annotation
Rectangle standardBounds = widget.getTextBounds(0, 0); Rectangle standardBounds = widget.getTextBounds(0, 0);
...@@ -296,7 +295,7 @@ public class IEViewRelationDrawingStrategy implements IAnnotationDrawingStrategy ...@@ -296,7 +295,7 @@ public class IEViewRelationDrawingStrategy implements IAnnotationDrawingStrategy
@Override @Override
public int getLineHeight(AnnotationFS anno) { public int getLineHeight(AnnotationFS anno) {
return (int) (IAnnotationDrawingStrategy.WIDGET_DEFAULT_LINEHEIGHT*2); return (int) (IAnnotationDrawingStrategy.WIDGET_DEFAULT_LINEHEIGHT*1.75);
} }
} }
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