Skip to content

Commit

Permalink
Small tweak to home screen icon label space.
Browse files Browse the repository at this point in the history
  • Loading branch information
lanceewing committed Mar 30, 2024
1 parent b010574 commit 2d11f23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/com/agifans/agile/HomeScreen.java
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ public Texture drawEmptyIcon(int iconWidth, int iconHeight) {

private static final int ICON_IMAGE_WIDTH = 320;
private static final int ICON_IMAGE_HEIGHT = 240;
private static final int ICON_LABEL_HEIGHT = 110;
private static final int ICON_LABEL_HEIGHT = 90;

/**
* Creates a button to represent the given AppConfigItem.
Expand Down Expand Up @@ -585,7 +585,7 @@ public Button buildAppButton(AppConfigItem appConfigItem) {
label.setFontScale(2f);
label.setAlignment(Align.top);
label.setWrap(false);
button.add(label).width(150).height(90).padTop(20);
button.add(label).width(150).height(90).padTop(15);

button.setName(appConfigItem.getName());
button.addListener(appClickListener);
Expand Down

0 comments on commit 2d11f23

Please sign in to comment.