From a9e12f6c508810604c8c91ee15451776b08ce1a1 Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Mon, 22 Apr 2019 07:41:56 -0400 Subject: [PATCH] Camera capslock fix --- 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