Skip to content
Snippets Groups Projects
Commit 8d798ff8 authored by Irina LEE's avatar Irina LEE
Browse files

modified files in syscams

parent 3d3097a0
No related branches found
No related tags found
1 merge request!72Syscams
...@@ -266,6 +266,7 @@ public abstract class SysCAMSPrimitivePort extends TGCScalableWithInternalCompon ...@@ -266,6 +266,7 @@ public abstract class SysCAMSPrimitivePort extends TGCScalableWithInternalCompon
g.setFont(f); g.setFont(f);
w = g.getFontMetrics().stringWidth(commName); w = g.getFontMetrics().stringWidth(commName);
if (w < ((int)(width * 1.5))) { if (w < ((int)(width * 1.5))) {
g.setFont(f.deriveFont(Font.BOLD));
g.drawString(commName, x, y-1); g.drawString(commName, x, y-1);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment