fixed #110 rewrite of tab-view and better fonts

This commit is contained in:
Jeena 2015-02-22 17:34:56 +01:00
parent 06351e5828
commit 550d14fbef
11 changed files with 171 additions and 82 deletions

View file

@ -9,4 +9,16 @@ function () {
var f = this.charAt(0).toUpperCase();
return f + this.substr(1);
}
String.prototype.pad = function (max, alignLeft) {
var string = this.substring(0, max - 1);
var spaces = new Array( max - string.length + 1 ).join(" ");
if(alignLeft) {
return string + spaces;
} else {
return spaces + string;
}
}
});