mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
Fix icon size for stat labels
This commit is contained in:
@@ -39,7 +39,7 @@ public abstract class StatTypeFilter<T extends InventoryItem> extends ToggleButt
|
|||||||
}
|
}
|
||||||
tooltip.append(")");
|
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);
|
buttonMap.put(st, button);
|
||||||
|
|
||||||
//hook so right-clicking a button toggles itself on and toggles off all other buttons
|
//hook so right-clicking a button toggles itself on and toggles off all other buttons
|
||||||
|
|||||||
@@ -261,6 +261,6 @@ public enum VStatistics implements IVDoc<CStatistics> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private FLabel buildLabel(StatTypes statType, boolean zebra) {
|
private FLabel buildLabel(StatTypes statType, boolean zebra) {
|
||||||
return buildLabel(FSkin.getImage(statType.skinProp), zebra);
|
return buildLabel(FSkin.getImage(statType.skinProp, 18, 18), zebra);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user