|
@@ -35,8 +35,8 @@ public class Gallery extends JPanel implements Observer, Serializable
|
|
|
{
|
|
|
Item.emptyStarImg = ImageIO.read(new File("src/main/resources/emptyStar.png"));
|
|
|
} catch(IOException e) {}
|
|
|
- Item.fullStarImg = Item.fullStarImg.getScaledInstance(25, 25, java.awt.Image.SCALE_SMOOTH);
|
|
|
- Item.emptyStarImg = Item.emptyStarImg.getScaledInstance(25, 25, java.awt.Image.SCALE_SMOOTH);
|
|
|
+ Item.fullStarImg = Item.fullStarImg.getScaledInstance(32, 32, java.awt.Image.SCALE_SMOOTH);
|
|
|
+ Item.emptyStarImg = Item.emptyStarImg.getScaledInstance(32, 32, java.awt.Image.SCALE_SMOOTH);
|
|
|
Item.fullStarIcon = new ImageIcon(Item.fullStarImg);
|
|
|
Item.emptyStarIcon = new ImageIcon(Item.emptyStarImg);
|
|
|
|
|
@@ -326,7 +326,7 @@ class Item extends JPanel implements Serializable
|
|
|
this.rating.add(star3);
|
|
|
this.rating.add(star4);
|
|
|
this.rating.add(star5);
|
|
|
- this.rating.setPreferredSize(new Dimension(200, 50));
|
|
|
+ this.rating.setPreferredSize(new Dimension(200, 32));
|
|
|
this.rating.setAlignmentX(LEFT_ALIGNMENT);
|
|
|
this.dateSize = new JLabel(Long.toString(data.getLastmod()) + Long.toString(data.getSize()), JLabel.LEFT);
|
|
|
this.dateSize.setAlignmentX(LEFT_ALIGNMENT);
|