only the bottom half of the top two buttons are clickable, all the other buttons work fine. its not even registering the touch down for the top half. The touchdown method is the same for each button so it cant be that. maybe it has to do with my table set up. for some reason only just bottom half of each button im confused
atlas = new TextureAtlas("menuButtons/menuButtons.pack");
//atlas2 = new TextureAtlas("buttons/frenzyButton.pack");
skin = new Skin(atlas);
//skin2 = new Skin(atlas2);
table = new Table(skin);
table.setBounds(0,0,600,960);
ButtonStyle b = new ButtonStyle();
b.up=skin.getDrawable("playUp");
b.down=skin.getDrawable("playDown");
b.pressedOffsetX = 1;
b.pressedOffsetY = -1;
//each button style is like this-----
playButton = new Button(b);
frenzyButton = new Button(c);
optionsButton = new Button(d);
rateButton = new Button(e);
creditsButton = new Button(f);
playButton.addListener(new ClickListener(){
@Override
public boolean touchDown(InputEvent event, float x, float y, int a , int b)
{
System.out.println("clicked");
return true;
} });
table.bottom();
table.add(playButton);
table.row().expandX();
table.add(playButton);
table.add(frenzyButton);
table.row();
table.add(optionsButton).colspan(2).padTop(50);
table.row().padTop(250);
table.add(rateButton).padRight(50);
table.add(creditsButton).padLeft(50);