Skip to content

Commit

Permalink
Tweak to the min and max height of the page indicator bar.
Browse files Browse the repository at this point in the history
  • Loading branch information
lanceewing committed Apr 3, 2024
1 parent 73524a3 commit 6c7aae4
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 @@ -240,7 +240,7 @@ private void addAppButtonsToStage(Stage stage, PaginationWidget paginationWidget

int availableHeight = (int)(viewportHeight - PAGINATION_HEIGHT);
int columns = (int)((viewportWidth - sidePadding) / ICON_IMAGE_WIDTH);
int rows = (int)(availableHeight / (ICON_IMAGE_HEIGHT + ICON_LABEL_HEIGHT + 30));
int rows = (int)(availableHeight / (ICON_IMAGE_HEIGHT + ICON_LABEL_HEIGHT + 15));

int totalHorizPadding = 0;
int horizPaddingUnit = 0;
Expand Down Expand Up @@ -327,7 +327,7 @@ private void addAppButtonsToStage(Stage stage, PaginationWidget paginationWidget
container.add(pagedScrollPane).expand().fill();

container.row();
container.add(paginationWidget).expand().fill();
container.add(paginationWidget).maxHeight(80).minHeight(80);
stage.addActor(paginationWidget);
}

Expand Down

0 comments on commit 6c7aae4

Please sign in to comment.