1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-23 13:04:23 +00:00

Center vertically text in progress bar

This commit is contained in:
buinsky 2015-01-29 17:48:39 +03:00
parent 18b036545c
commit 135599acc4

View File

@ -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);