Skip to content
Snippets Groups Projects
Commit 127248eb authored by Moemoea Fierin's avatar Moemoea Fierin
Browse files

[ZOOM] Issue #31: minWidth/height and txt disappearance when 2 small

parent 99c80c98
No related branches found
No related tags found
1 merge request!287Resolve "Zoom on all diagrams"
...@@ -65,7 +65,6 @@ public class DiplodocusMethodologyDiagramName extends TGCScalableWithoutInternal ...@@ -65,7 +65,6 @@ public class DiplodocusMethodologyDiagramName extends TGCScalableWithoutInternal
public final static int X_MARGIN = 5; public final static int X_MARGIN = 5;
public final static int Y_MARGIN = 3; public final static int Y_MARGIN = 3;
protected final static int SIM_TRACE_APP_DIPLO = 0; protected final static int SIM_TRACE_APP_DIPLO = 0;
protected final static int SIM_ANIM_APP_DIPLO = 7; protected final static int SIM_ANIM_APP_DIPLO = 7;
protected final static int UPP_APP_DIPLO = 1; protected final static int UPP_APP_DIPLO = 1;
...@@ -107,6 +106,10 @@ public class DiplodocusMethodologyDiagramName extends TGCScalableWithoutInternal ...@@ -107,6 +106,10 @@ public class DiplodocusMethodologyDiagramName extends TGCScalableWithoutInternal
public DiplodocusMethodologyDiagramName(int _x, int _y, int _minX, int _maxX, int _minY, int _maxY, boolean _pos, TGComponent _father, TDiagramPanel _tdp) { public DiplodocusMethodologyDiagramName(int _x, int _y, int _minX, int _maxX, int _minY, int _maxY, boolean _pos, TGComponent _father, TDiagramPanel _tdp) {
super(_x, _y, _minX, _maxX, _minY, _maxY, _pos, _father, _tdp); super(_x, _y, _minX, _maxX, _minY, _maxY, _pos, _father, _tdp);
minWidth = 10;
minHeight = lineLength;
initScaling(10, 10);
nbConnectingPoint = 0; nbConnectingPoint = 0;
minWidth = 10; minWidth = 10;
nbInternalTGComponent = 0; nbInternalTGComponent = 0;
...@@ -117,8 +120,6 @@ public class DiplodocusMethodologyDiagramName extends TGCScalableWithoutInternal ...@@ -117,8 +120,6 @@ public class DiplodocusMethodologyDiagramName extends TGCScalableWithoutInternal
name = "value "; name = "value ";
initScaling(10, 10);
myImageIcon = IconManager.imgic302; myImageIcon = IconManager.imgic302;
} }
......
...@@ -99,7 +99,6 @@ public abstract class DiplodocusMethodologyDiagramReference extends TGCScalableW ...@@ -99,7 +99,6 @@ public abstract class DiplodocusMethodologyDiagramReference extends TGCScalableW
lineLength = 30; lineLength = 30;
textX = 5; textX = 5;
textY = 22; textY = 22;
minWidth = 10;
minHeight = lineLength; minHeight = lineLength;
initScaling(200, 120); initScaling(200, 120);
......
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