Tweaked layout for small card text.

This commit is contained in:
Mark Langen 2016-09-01 16:13:28 -06:00
parent 463576dbd0
commit b2895ee9eb

View file

@ -664,10 +664,14 @@ public class ModernCardRenderer extends CardRenderer {
// Do we have room for additional spacing between the parts of text? // Do we have room for additional spacing between the parts of text?
// If so, calculate the spacing based on how much space was left over // If so, calculate the spacing based on how much space was left over
int spacing = int spacing;
(int)(remaining / (hasKeywords ? if (remaining <= 0) {
spacing = 0;
} else {
spacing = (int)(remaining / (hasKeywords ?
(textboxRules.size() + 2) : (textboxRules.size() + 2) :
(textboxRules.size() + 1))); (textboxRules.size() + 1)));
}
// Do the actual draw // Do the actual draw
loyaltyAbilityColorToggle = false; loyaltyAbilityColorToggle = false;