Fix loot tracker box subtitle

This commit is contained in:
psikoi
2018-09-22 20:34:36 +01:00
parent 9e7186d74c
commit 10b4823ef3

View File

@@ -76,13 +76,13 @@ class LootTrackerBox extends JPanel
logTitle.add(titleLabel, BorderLayout.WEST); logTitle.add(titleLabel, BorderLayout.WEST);
// If we have subtitle, add it subTitleLabel.setFont(FontManager.getRunescapeSmallFont());
subTitleLabel.setForeground(ColorScheme.LIGHT_GRAY_COLOR);
logTitle.add(subTitleLabel, BorderLayout.CENTER);
if (!Strings.isNullOrEmpty(subtitle)) if (!Strings.isNullOrEmpty(subtitle))
{ {
subTitleLabel.setText(subtitle); subTitleLabel.setText(subtitle);
subTitleLabel.setFont(FontManager.getRunescapeSmallFont());
subTitleLabel.setForeground(ColorScheme.LIGHT_GRAY_COLOR);
logTitle.add(subTitleLabel, BorderLayout.CENTER);
} }
priceLabel.setFont(FontManager.getRunescapeSmallFont()); priceLabel.setFont(FontManager.getRunescapeSmallFont());