Skip to content

Commit

Permalink
Changed display positioning to get rid of the overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
nawal-0 committed Sep 11, 2023
1 parent d6868b2 commit ff68ecf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ private void addActors() {
table = new Table();
table.top().left();
table.setFillParent(true);
table.padTop(100f).padLeft(20f);
table.padTop(140f).padLeft(20f);

scrapsTb = createButton("images/economy/scrapBanner.png",
ServiceLocator.getCurrencyService().getScrap().getAmount());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ private void addActors() {
engineerTb.setDisabled(true);
engineerTb.getLabel().setAlignment(Align.right);

engineerTb.pad(0, 0, 0, 70);
engineerTb.pad(0, 0, 0, 50);
engineerTb.setTransform(true);

table.add(engineerTb).width(engineerTb.getWidth() * 0.5f).height(engineerTb.getHeight() * 0.5f);
Expand Down

0 comments on commit ff68ecf

Please sign in to comment.