Tweak spell shop columns

This commit is contained in:
drdev
2014-01-14 03:39:48 +00:00
parent b776929fe8
commit 62bfb66e11

View File

@@ -322,7 +322,7 @@ public class ItemColumn extends TableColumn {
return String.valueOf(toRanking(from.getKey())); return String.valueOf(toRanking(from.getKey()));
} }
}), }),
QUANTITY("Qty", "Quantity", 30, 30, 30, SortState.ASC, new ItemCellRenderer(), QUANTITY("Qty", "Quantity", 25, 25, 25, SortState.ASC, new ItemCellRenderer(),
new Function<Entry<InventoryItem, Integer>, Comparable<?>>() { new Function<Entry<InventoryItem, Integer>, Comparable<?>>() {
@Override @Override
public Comparable<?> apply(final Entry<InventoryItem, Integer> from) { public Comparable<?> apply(final Entry<InventoryItem, Integer> from) {
@@ -335,7 +335,7 @@ public class ItemColumn extends TableColumn {
return from.getValue(); return from.getValue();
} }
}), }),
DECK_QUANTITY("Qty", "Quantity", 46, 46, 46, SortState.ASC, new DeckQuantityRenderer(), DECK_QUANTITY("Quantity", "Quantity", 50, 50, 50, SortState.ASC, new DeckQuantityRenderer(),
new Function<Entry<InventoryItem, Integer>, Comparable<?>>() { new Function<Entry<InventoryItem, Integer>, Comparable<?>>() {
@Override @Override
public Comparable<?> apply(final Entry<InventoryItem, Integer> from) { public Comparable<?> apply(final Entry<InventoryItem, Integer> from) {
@@ -350,11 +350,11 @@ public class ItemColumn extends TableColumn {
}), }),
NEW("New", "New", 30, 30, 30, SortState.ASC, new ItemCellRenderer(), NEW("New", "New", 30, 30, 30, SortState.ASC, new ItemCellRenderer(),
null, null), //functions will be set later null, null), //functions will be set later
PRICE("Price", "Price", 30, 30, 30, SortState.ASC, new ItemCellRenderer(), PRICE("Price", "Price", 35, 35, 35, SortState.ASC, new ItemCellRenderer(),
null, null), null, null),
OWNED("Owned", "Owned", 40, 30, 40, SortState.ASC, new ItemCellRenderer(), OWNED("Owned", "Owned", 20, 20, 45, SortState.ASC, new ItemCellRenderer(),
null, null), null, null),
DECKS("Decks", "Decks Containing Card", 30, 30, 30, SortState.ASC, new ItemCellRenderer(), DECKS("Decks", "Decks Containing Card", 20, 20, 45, SortState.ASC, new ItemCellRenderer(),
null, null), null, null),
FAVORITE("", "Favorite", 18, 18, 18, SortState.DESC, new StarRenderer(), FAVORITE("", "Favorite", 18, 18, 18, SortState.DESC, new StarRenderer(),
new Function<Entry<InventoryItem, Integer>, Comparable<?>>() { new Function<Entry<InventoryItem, Integer>, Comparable<?>>() {
@@ -399,7 +399,7 @@ public class ItemColumn extends TableColumn {
return toDeckColor(from.getKey()); return toDeckColor(from.getKey());
} }
}), }),
DECK_FORMAT("Format", "Formats deck is legal in", 60, -1, -1, SortState.ASC, new ItemCellRenderer(), DECK_FORMAT("Format", "Format", 60, -1, -1, SortState.ASC, new ItemCellRenderer(),
new Function<Entry<InventoryItem, Integer>, Comparable<?>>() { new Function<Entry<InventoryItem, Integer>, Comparable<?>>() {
@Override @Override
public Comparable<?> apply(final Entry<InventoryItem, Integer> from) { public Comparable<?> apply(final Entry<InventoryItem, Integer> from) {