Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override public void show () {
- Table mainTable = new Table();
- mainTable.setFillParent(true);
- // mainTable.setDebug(true);
- mainTable.align(Align.left);
- //First row is for Barjis name
- Table firstRow = new Table();
- //firstRow.setWidth(350f);
- firstRow.setWidth(Constants.VIEWPORT_GUI_WIDTH);
- firstRow.setHeight(104f);
- firstRow.align(Align.bottomLeft);
- firstRow.debug();
- Label barjisLabel = new Label("Barjis", skin);
- barjisLabel.setAlignment(Align.left);
- firstRow.add(barjisLabel).padLeft(39.0625f);
- mainTable.add(firstRow);
- mainTable.row();
- // <editor-fold desc="Second row for the main image and the menu">
- Table secondRow = new Table();
- secondRow.setWidth(Constants.VIEWPORT_GUI_WIDTH);
- //secondRow.setHeight(277.75f);
- // secondRow.debug();
- mainScreenLogo = new Image(Assets.instance.assetMainScreenLogo.assetMainScreenLogo);
- // mainScreenLogo.setWidth(332.03125f);
- // mainScreenLogo.setHeight(277.6f);
- secondRow.add(mainScreenLogo);//.padLeft(69.53125f);
- mainTable.add(secondRow);
- mainTable.row();
- // </editor-fold>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement