Advertisement
Guest User

Untitled

a guest
Aug 28th, 2016
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.27 KB | None | 0 0
  1.     @Override public void show () {
  2.         Table mainTable = new Table();
  3.         mainTable.setFillParent(true);
  4. //        mainTable.setDebug(true);
  5.         mainTable.align(Align.left);
  6.        
  7.         //First row is for Barjis name
  8.         Table firstRow = new Table();
  9.         //firstRow.setWidth(350f);
  10.         firstRow.setWidth(Constants.VIEWPORT_GUI_WIDTH);
  11.         firstRow.setHeight(104f);
  12.         firstRow.align(Align.bottomLeft);
  13.         firstRow.debug();
  14.         Label barjisLabel = new Label("Barjis", skin);
  15.         barjisLabel.setAlignment(Align.left);
  16.         firstRow.add(barjisLabel).padLeft(39.0625f);
  17.  
  18.         mainTable.add(firstRow);
  19.         mainTable.row();
  20.        
  21.         // <editor-fold desc="Second row for the main image and the menu">
  22.         Table secondRow = new Table();
  23.         secondRow.setWidth(Constants.VIEWPORT_GUI_WIDTH);
  24.         //secondRow.setHeight(277.75f);
  25. //        secondRow.debug();
  26.         mainScreenLogo = new Image(Assets.instance.assetMainScreenLogo.assetMainScreenLogo);
  27. //        mainScreenLogo.setWidth(332.03125f);
  28. //        mainScreenLogo.setHeight(277.6f);
  29.         secondRow.add(mainScreenLogo);//.padLeft(69.53125f);
  30.        
  31.         mainTable.add(secondRow);
  32.         mainTable.row();
  33.         // </editor-fold>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement