Increase the vertical spacing slightly for thumbnail view and center the icon better.
- M jbidwatcher/trunk/src/com/jbidwatcher/ui/myTableCellRenderer.java view
- M jbidwatcher/trunk/src/com/jbidwatcher/util/Constants.java view
| 1022 | 1023 | |
|---|---|---|
| 73 | 73 | int row, int column) { |
| 74 | 74 | column = table.convertColumnIndexToModel(column); |
| 75 | 75 | if(value instanceof Icon) { |
| 76 | setHorizontalAlignment(JLabel.CENTER); | |
| 76 | setHorizontalAlignment(SwingConstants.CENTER); | |
| 77 | setVerticalAlignment(SwingConstants.CENTER); | |
| 77 | 78 | } else { |
| 78 | 79 | setHorizontalAlignment(JLabel.LEFT); |
| 79 | 80 | } |
| 1019 | 1023 | |
|---|---|---|
| 72 | 72 | public static final int SYNDICATION_ITEM_COUNT = 15; |
| 73 | 73 | public static final int DEFAULT_COLUMN_WIDTH=75; |
| 74 | 74 | public static final int DEFAULT_ROW_HEIGHT=20; |
| 75 | public static final int MICROTHUMBNAIL_ROW_HEIGHT = 70; | |
| 75 | public static final int MICROTHUMBNAIL_ROW_HEIGHT = 72; | |
| 76 | 76 | public final static String[] SITE_CHOICES = { |
| 77 | 77 | "ebay.com", |
| 78 | 78 | "ebay.de", |
