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 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
};