src/widgets/Arrow.js
branchnew-model
changeset 882 61c384dda19e
parent 880 4c7b33bf2795
child 957 4da0a5740b6c
child 1019 3ab36f402b0c
--- a/src/widgets/Arrow.js	Fri Apr 27 19:18:21 2012 +0200
+++ b/src/widgets/Arrow.js	Thu May 03 17:52:52 2012 +0200
@@ -20,7 +20,10 @@
 
 IriSP.Widgets.Arrow.prototype.draw = function() {
     this.height = this.arrow_height + this.base_height;
-    this.$.addClass("Ldt-Arrow").css("height", this.height + "px");
+    this.$.addClass("Ldt-Arrow").css({
+        height: this.height + "px",
+        "margin-top": "1px"
+    });
     this.paper = new Raphael(this.container, this.width, this.height );
     window.myArrow = this;
     this.svgArrow = this.paper.path('M0,' + this.height + 'L' + this.width + ',' + this.height);