more menu table fighting

This commit is contained in:
Anuken
2019-03-22 13:58:51 -04:00
parent c7d34049fa
commit e4f226a9c5

View File

@ -60,8 +60,22 @@ public class HudFragment extends Fragment{
{
Table select = new Table(){
public float getPrefWidth(){ return Unit.dp.scl(dsize*4 + 3); }
public float getPrefHeight(){ return Unit.dp.scl(dsize); }
@Override
public void act(float delta){
setSize(getPrefWidth(), getPrefHeight());
setPosition(0, 0, Align.topLeft);
super.act(delta);
}
@Override
public float getPrefWidth(){
return Unit.dp.scl(dsize*4 + 3);
}
@Override
public float getPrefHeight(){
return Unit.dp.scl(dsize);
}
};
select.left();