<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -253,10 +253,15 @@ public class Wing extends JDialog implements ComponentListener,
 
     private void setLocation() {
         if (this.isVisible() &amp;&amp; ((Editor) component).centerPanel.isVisible()) {
+            Component centerPanel = ((Editor) component).centerPanel;
+            Component lineStatus =((Editor) component).lineStatus;
             int xLocation = component.getX() + component.getWidth();
-            int yLocation = ((Editor) component).centerPanel
-                            .getLocationOnScreen().y;
+            int yLocation = (int)centerPanel.getLocationOnScreen().getY() - 32;
+            int width = (int)this.getSize().getWidth();
+            int height = ((int)lineStatus.getLocationOnScreen().getY()) - yLocation;
+
             this.setLocation(xLocation, yLocation);
+            this.setSize(width, height);
         }
     }
 </diff>
      <filename>antipasto/GUI/GadgetListView/Wing.java</filename>
    </modified>
    <modified>
      <diff>@@ -45,7 +45,7 @@ public class WingTab extends JComponent implements MouseListener {
 	private Color textColor;
 	
 	private double width; 
-	private double height = 20;
+	private double height = 32;
 	private boolean isFocused = false;
 	private boolean isSelected = false;
 	
@@ -68,31 +68,22 @@ public class WingTab extends JComponent implements MouseListener {
 		this.width = (this.txt.length() * 7) + 10;
 		
 		this.setPreferredSize(new Dimension((int)this.width, (int)this.height));
-		//this.setSize(new Dimension((int) this.width, (int)height));
 		
 	}
 	
 	 public void paint(Graphics g) {
 	        Graphics2D graphics2 = (Graphics2D) g;
 	        
-	        //FontMetrics metrics = g.getFontMetrics(font);
-	        //this.width =  ((metrics.getStringBounds(txt, g).getWidth() / 2) * 1.4) +5;
-	        //this.width = (int)this.txt.length() * 8;
-	        //this.width = font.getStringBounds(this.txt,graphics2.getFontRenderContext()).getWidth()-10;
-	        
-	        //this.setSize(new Dimension((int) this.width, (int)height));
-			//this.setPreferredSize(new Dimension((int) this.width, (int)height));
-	        
-			String printTxt = this.txt;
-			
-			roundRect = new RoundRectangle2D.Double(0, 5, width, 25 , 10, 10);
-			rect = new Rectangle2D.Double(0,10,width, 15);
-			
-			graphics2.setColor(this.bgColor);
-			graphics2.fill(roundRect);
-			graphics2.fill(rect);
-			graphics2.draw(roundRect);
-			graphics2.draw(rect);
+		String printTxt = this.txt;
+		
+		roundRect = new RoundRectangle2D.Double(0, 13, width, 35, 10, 10);
+		rect = new Rectangle2D.Double(0,18,width, 35);
+		
+		graphics2.setColor(this.bgColor);
+		graphics2.fill(roundRect);
+		graphics2.fill(rect);
+		graphics2.draw(roundRect);
+		graphics2.draw(rect);
 			
 	        graphics2.setColor(this.textColor);
 	        graphics2.drawString(printTxt, 5,(int)height - 2 );</diff>
      <filename>antipasto/GUI/GadgetListView/WingTab.java</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f1ed62b1d1b98fa39508b6fc68e9530a1c5eaf8c</id>
    </parent>
  </parents>
  <author>
    <name>cladden</name>
    <email>christopher.ladden@gmail.com</email>
  </author>
  <url>http://github.com/liquidware/antipasto_arduino/commit/9353dbfb673b280047a351660800ec570f3964b0</url>
  <id>9353dbfb673b280047a351660800ec570f3964b0</id>
  <committed-date>2009-11-05T12:59:24-08:00</committed-date>
  <authored-date>2009-11-05T12:59:24-08:00</authored-date>
  <message>Dynamically sized reference panel.</message>
  <tree>da61d464d210ee82840dfb739ca55291dc3d7ad3</tree>
  <committer>
    <name>cladden</name>
    <email>christopher.ladden@gmail.com</email>
  </committer>
</commit>
