Fix tooltip width

This commit is contained in:
drdev
2014-09-18 19:39:34 +00:00
parent 27f695963d
commit b1065c4328

View File

@@ -339,7 +339,7 @@ public enum VSubmenuAchievements implements IVSubmenu<CSubmenuAchievements> {
int nameHeight = NAME_FONT.getFontMetrics().getHeight();
int descHeight = DESC_FONT.getFontMetrics().getHeight();
w = getWidth() - 2 * PADDING;
w = imgShelfSize.width - 2 * PADDING - 1;
h = nameHeight + PADDING * 5 / 2;
if (subTitle != null) {
h += descHeight;