Fix icon size for stat labels

This commit is contained in:
drdev
2014-04-08 23:42:40 +00:00
parent 0512aa4856
commit acb7ff4bac
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ public abstract class StatTypeFilter<T extends InventoryItem> extends ToggleButt
}
tooltip.append(")");
final FLabel button = addToggleButton(widget, FSkin.getImage(st.skinProp), tooltip.toString());
final FLabel button = addToggleButton(widget, FSkin.getImage(st.skinProp, 18, 18), tooltip.toString());
buttonMap.put(st, button);
//hook so right-clicking a button toggles itself on and toggles off all other buttons

View File

@@ -261,6 +261,6 @@ public enum VStatistics implements IVDoc<CStatistics> {
}
private FLabel buildLabel(StatTypes statType, boolean zebra) {
return buildLabel(FSkin.getImage(statType.skinProp), zebra);
return buildLabel(FSkin.getImage(statType.skinProp, 18, 18), zebra);
}
}