From 54adfcbf93eb477bedeec45409f36cf7e102b790 Mon Sep 17 00:00:00 2001
From: Normand Briere <nbriere@noware.ca>
Date: Mon, 16 Sep 2019 21:54:55 -0400
Subject: [PATCH] Navigation with intersection.
---
timeflow/app/ui/ComponentCluster.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/timeflow/app/ui/ComponentCluster.java b/timeflow/app/ui/ComponentCluster.java
index d32b3b6..057f2dd 100755
--- a/timeflow/app/ui/ComponentCluster.java
+++ b/timeflow/app/ui/ComponentCluster.java
@@ -8,7 +8,7 @@
int numComps=0;
int x1=80;
int width=200;
- int compH=30;
+ int compH=20;
DottedLine line=new DottedLine();
public ComponentCluster(String name)
@@ -25,9 +25,9 @@
{
add(c);
c.setBorder(null);
- c.setBounds(x1,10+numComps*compH, c.getPreferredSize().width, c.getPreferredSize().height);
+ c.setBounds(x1,numComps*compH, c.getPreferredSize().width, c.getPreferredSize().height);
numComps++;
- line.setBounds(x1-10,10,1,numComps*compH-5);
+ line.setBounds(x1-10,10,0,numComps*compH);
}
public Dimension getPreferredSize()
--
Gitblit v1.6.2