Labels Abajo a la Izquierda

This commit is contained in:
Luis Fernando Molina committed 2018-10-21 14:20:45 +02:00
1 parent 8831c2e7c9
commit eed69de3d4
4 files changed
+11 -11

No files matched your search

+3 -3
View File
@@ -12,10 +12,10 @@ function newCurrentBot() {
container.initialize();
thisObject.container = container;
thisObject.container.frame.width = 200;
thisObject.container.frame.width = 100;
thisObject.container.frame.height = TOP_SPACE_HEIGHT;
container.frame.position.x = viewPort.visibleArea.topRight.x - thisObject.container.frame.width * 3;
container.frame.position.x = viewPort.visibleArea.topLeft.x + thisObject.container.frame.width * 1;
container.frame.position.y = viewPort.visibleArea.bottomLeft.y;
container.isDraggeable = false;
@@ -121,7 +121,7 @@ function newCurrentBot() {
if (label === undefined) { label = "" };
let point = {
x: 250,
x: thisObject.container.frame.width / 2 - label.length / 2 * fontSize / 3,
y: (thisObject.container.frame.height / 2) + 12
};
point = thisObject.container.frame.frameThisPoint(point);
+3 -3
View File
@@ -12,10 +12,10 @@ function newCurrentProcess() {
container.initialize();
thisObject.container = container;
thisObject.container.frame.width = 130;
thisObject.container.frame.width = 100;
thisObject.container.frame.height = TOP_SPACE_HEIGHT;
container.frame.position.x = viewPort.visibleArea.topRight.x - thisObject.container.frame.width * 2;
container.frame.position.x = viewPort.visibleArea.topLeft.x + thisObject.container.frame.width * 2;
container.frame.position.y = viewPort.visibleArea.bottomLeft.y;
container.isDraggeable = false;
@@ -114,7 +114,7 @@ function newCurrentProcess() {
if (label === undefined) { label = "" };
let point = {
x: thisObject.container.frame.width * 1 / 3,
x: thisObject.container.frame.width / 2 - label.length / 2 * fontSize / 3,
y: (thisObject.container.frame.height / 2) + 12
};
+2 -2
View File
@@ -12,10 +12,10 @@ function newCurrentStartMode() {
container.initialize();
thisObject.container = container;
thisObject.container.frame.width = 130;
thisObject.container.frame.width = 100;
thisObject.container.frame.height = TOP_SPACE_HEIGHT;
container.frame.position.x = viewPort.visibleArea.topRight.x - thisObject.container.frame.width * 1;
container.frame.position.x = viewPort.visibleArea.topLeft.x + thisObject.container.frame.width * 3;
container.frame.position.y = viewPort.visibleArea.bottomLeft.y;
container.isDraggeable = false;
+3 -3
View File
@@ -12,10 +12,10 @@ function newDevTeam() {
container.initialize();
thisObject.container = container;
thisObject.container.frame.width = 200;
thisObject.container.frame.width = 100;
thisObject.container.frame.height = TOP_SPACE_HEIGHT;
container.frame.position.x = viewPort.visibleArea.topRight.x - thisObject.container.frame.width * 4;
container.frame.position.x = viewPort.visibleArea.topLeft.x + thisObject.container.frame.width * 0;
container.frame.position.y = viewPort.visibleArea.bottomLeft.y;
container.isDraggeable = false;
@@ -104,7 +104,7 @@ function newDevTeam() {
let fontSize = 12;
let point = {
x: 300,
x: thisObject.container.frame.width / 2 - label.length / 2 * fontSize / 3,
y: (thisObject.container.frame.height / 2) + 12
};