mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
add a little spacing between the avatar icon and the life total.
This commit is contained in:
@@ -134,12 +134,12 @@ public class ViewField extends FRoundedPanel {
|
|||||||
|
|
||||||
lblAvatar = new JLabel();
|
lblAvatar = new JLabel();
|
||||||
lblAvatar.setHorizontalAlignment(SwingConstants.CENTER);
|
lblAvatar.setHorizontalAlignment(SwingConstants.CENTER);
|
||||||
avatarArea.add(lblAvatar, "w 100%!, wrap, gaptop 2px");
|
avatarArea.add(lblAvatar, "w 100%!, wrap, gaptop 4%");
|
||||||
|
|
||||||
lblLife = new JLabel();
|
lblLife = new JLabel();
|
||||||
lblLife.setHorizontalAlignment(SwingConstants.CENTER);
|
lblLife.setHorizontalAlignment(SwingConstants.CENTER);
|
||||||
lblLife.setForeground(skin.getColor(FSkin.SkinProp.CLR_TEXT));
|
lblLife.setForeground(skin.getColor(FSkin.SkinProp.CLR_TEXT));
|
||||||
avatarArea.add(lblLife, "w 100%!, h 30%!");
|
avatarArea.add(lblLife, "w 100%!, h 30%!, gaptop 4%");
|
||||||
|
|
||||||
this.add(avatarArea, "w 10%!, h 30%!");
|
this.add(avatarArea, "w 10%!, h 30%!");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user