diff --git a/data/js/controls.js b/data/js/controls.js index 728ed7b..f8a8101 100644 --- a/data/js/controls.js +++ b/data/js/controls.js @@ -233,6 +233,9 @@ function start() { var e = document.body; var center = ""; + panelStyle = data.hasOwnProperty('panelStyle') ? " style='" + data.panelStyle + "'" : ""; + elementStyle = data.hasOwnProperty('elementStyle') ? " style='" + data.elementStyle + "'" : ""; + switch (data.type) { case UI_INITIAL_GUI: // Clear current elements @@ -278,9 +281,9 @@ function start() { } if (data.visible) { parent.append( - "
" + "
" + @@ -288,7 +291,7 @@ function start() { "

" + "" + + "' " + elementStyle + " class='label label-wrap'>" + data.value + "" + "
" @@ -307,7 +310,7 @@ function start() { parent.append( "
" + "
" + @@ -315,7 +318,7 @@ function start() { "

" + "