protected void onRender(GraphicsHelper gh) {
		Vector2f npos = pos.copy();
		if (fontAlign.x == 2) npos.x -= getElWidth();
		if (fontAlign.x == 1) npos.x -= getElWidth()/2;
		
		gh.g().setFont(font);
		gh.g().setColor(Colors.alpha(Color.white,scale));
		
		Fonts.setFontAlign(EFontAlign.pos[0][fontAlign.y]);
		Fonts.drawStringShadowed(gh,text,npos.x,pos.y,Colors.alpha(Color.black,scale));
		
		Fonts.setFontAlign(EFontAlign.pos[2][fontAlign.y]);
		npos.x += getElWidth();
		Fonts.drawStringShadowed(gh,getValueText(),npos.x,pos.y,Colors.alpha(Color.black,scale));
		
		Fonts.resetFontAlign();
	}