From 41f77d8ffeada089c2196369e77ff8d9dfde44a3 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Dec 2017 13:09:37 +0100 Subject: [PATCH] example/ardour: add some swag --- app/examples/ardour.json | 95 +++++++++++++++++----------------------- 1 file changed, 40 insertions(+), 55 deletions(-) diff --git a/app/examples/ardour.json b/app/examples/ardour.json index 16db9d4f..8168f6f3 100644 --- a/app/examples/ardour.json +++ b/app/examples/ardour.json @@ -148,7 +148,7 @@ "id": "time", "label": false, "vertical": false, - "css": "font-size:140%; flex:4", + "css": "font-size:120%; flex:4", "preArgs": [], "value": "00:00:00:00", "address": "/position/smpte", @@ -266,7 +266,7 @@ "type": "strip", "id": "trim_@{parent.variables.n}", "label": false, - "height": 50, + "height": 60, "color": "auto", "css": "", "horizontal": true, @@ -279,50 +279,45 @@ "type": "strip", "id": "trim_meta_@{parent.variables.n}", "label": false, - "width": "auto", + "width": 50, "color": "auto", - "css": "", - "horizontal": false, + "css": "font-size:90%;", + "horizontal": true, "stretch": true, "border": false, "spacing": 0, "variables": "@{parent.variables}", "widgets": [ { - "type": "input", + "type": "text", "id": "trim_label_@{parent.variables.n}", "label": false, "color": "auto", - "css": "", "value": "Trim", "preArgs": [], "widgetId": "", - "height": 20, - "linkId": "", - "unit": "", - "horizontal": false, - "editable": false, - "precision": 2, - "target": [], - "address": "/trim_label_@{parent.variables.n}" + "address": "/trim_label_@{parent.variables.n}", + "vertical": true, + "width": "auto", + "css": "" }, { "type": "input", "id": "trim_input_@{parent.variables.n}", "label": false, "color": "auto", - "css": "", "preArgs": [], "widgetId": "trim_knob_@{parent.variables.n}", - "height": 20, "linkId": "", "unit": "", - "horizontal": false, + "horizontal": true, "editable": true, - "precision": 2, + "precision": 1, "target": [], "value": "", - "address": "/trim_input_@{parent.variables.n}" + "address": "/trim_input_@{parent.variables.n}", + "width": "auto", + "css": "" } ], "_style": "style", @@ -928,7 +923,7 @@ "type": "strip", "id": "master_trim_strip", "label": false, - "height": 50, + "height": 60, "color": "auto", "css": "", "horizontal": true, @@ -941,17 +936,17 @@ "type": "strip", "id": "trim_meta_@{parent.variables.n}", "label": false, - "width": "auto", + "width": 50, "color": "auto", - "css": "", - "horizontal": false, + "css": "font-size:90%;", + "horizontal": true, "stretch": true, "border": false, "spacing": 0, "variables": "@{parent.variables}", "widgets": [ { - "type": "input", + "type": "text", "id": "mastertrim_label", "label": false, "color": "auto", @@ -959,32 +954,27 @@ "value": "Trim", "preArgs": [], "widgetId": "", - "height": 20, - "linkId": "", - "unit": "", - "horizontal": false, - "editable": false, - "precision": 2, - "target": [], - "address": "/mastertrim_label" + "address": "/mastertrim_label", + "vertical": true, + "width": "auto" }, { "type": "input", "id": "mastertrim_input", "label": false, "color": "auto", - "css": "", "preArgs": [], "widgetId": "mastertrim", - "height": 20, "linkId": "", "unit": "", - "horizontal": false, + "horizontal": true, "editable": true, - "precision": 2, + "precision": 1, "target": [], "value": "", - "address": "/mastertrim_input" + "address": "/mastertrim_input", + "width": "auto", + "css": "" } ], "_style": "style", @@ -1917,7 +1907,7 @@ "type": "strip", "id": "trim_select_strip", "label": false, - "height": 50, + "height": 60, "color": "auto", "css": "", "horizontal": true, @@ -1930,17 +1920,17 @@ "type": "strip", "id": "trim_meta_select", "label": false, - "width": "auto", + "width": 50, "color": "auto", - "css": "", - "horizontal": false, + "css": "font-size:90%;", + "horizontal": true, "stretch": true, "border": false, "spacing": 0, "variables": "@{parent.variables}", "widgets": [ { - "type": "input", + "type": "text", "id": "select_trim_label", "label": false, "color": "auto", @@ -1948,14 +1938,9 @@ "value": "Trim", "preArgs": [], "widgetId": "", - "height": 20, - "linkId": "", - "unit": "", - "horizontal": false, - "editable": false, - "precision": 2, - "target": [], - "address": "/select_trim_label" + "address": "/select_trim_label", + "vertical": true, + "width": "auto" }, { "type": "input", @@ -1965,15 +1950,15 @@ "css": "", "preArgs": [], "widgetId": "select_trim_knob", - "height": 20, "linkId": "", "unit": "", - "horizontal": false, + "horizontal": true, "editable": true, - "precision": 2, + "precision": 1, "target": [], + "address": "/select_trim_input", "value": "", - "address": "/select_trim_input" + "width": "auto" } ], "_style": "style",