Browse Source

Center vertically text in progress bar

adaptive-webui-19844
buinsky 10 years ago
parent
commit
135599acc4
  1. 4
      src/webui/www/public/scripts/progressbar.js

4
src/webui/www/public/scripts/progressbar.js

@ -37,7 +37,7 @@ var ProgressBar = new Class({
'text-align': 'center', 'text-align': 'center',
'left': 0, 'left': 0,
'top': 0, 'top': 0,
'line-height': vals.height - 2 'line-height': vals.height
} }
}); });
obj.vals.light = new Element('div', { obj.vals.light = new Element('div', {
@ -52,7 +52,7 @@ var ProgressBar = new Class({
'text-align': 'center', 'text-align': 'center',
'left': 0, 'left': 0,
'top': 0, 'top': 0,
'line-height': vals.height - 2 'line-height': vals.height
} }
}); });
obj.appendChild(obj.vals.dark); obj.appendChild(obj.vals.dark);

Loading…
Cancel
Save