diff --git a/platform/features/layout/res/templates/elements/line.html b/platform/features/layout/res/templates/elements/line.html
index 2556056434..690fd1a9db 100644
--- a/platform/features/layout/res/templates/elements/line.html
+++ b/platform/features/layout/res/templates/elements/line.html
@@ -1,4 +1,10 @@
-
- ...line...
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/platform/features/layout/res/templates/fixed.html b/platform/features/layout/res/templates/fixed.html
index 0b7e1ef056..9d6d741a62 100644
--- a/platform/features/layout/res/templates/fixed.html
+++ b/platform/features/layout/res/templates/fixed.html
@@ -14,6 +14,7 @@
0 && delta) {
+ element.x += delta;
+ element.x2 += delta;
+ }
+ return x;
+ };
+
+ proxy.y = function (v) {
+ var y = Math.min(element.y, element.y2),
+ delta = v - y;
+ if (arguments.length > 0 && delta) {
+ element.y += delta;
+ element.y2 += delta;
+ }
+ return y;
+ };
+
+ proxy.width = function () {
+ return Math.max(element.x, element.x2) - proxy.x();
+ };
+
+ proxy.height = function () {
+ return Math.max(element.y, element.y2) - proxy.y();
+ };
+
+ proxy.x1 = function () {
+ return element.x - proxy.x();
+ };
+
+ proxy.y1 = function () {
+ return element.y - proxy.y();
+ };
+
+ proxy.x2 = function () {
+ return element.x2 - proxy.x();
+ };
+
+ proxy.y2 = function () {
+ return element.y2 - proxy.y();
+ };
+
+ return proxy;
+ }
+
+ return LineProxy;
+ }
+);
\ No newline at end of file