当前位置: 动力学知识库 > 问答 > 编程问答 >

android - libgdx - adding multiple actors in one table cell with scene2d

问题描述:

I would like to add multiple actors to one table cell with scene2d.

My table has 3 cells on each row while I would like to add 10 images to one row.

Table tmpTable = new Table();

tmpTable.add(img1);

tmpTable.add(img2);

...

tmpTable.add(img10);

masterTable.add(tmpTable).colspan(3);

What is the best way to do it? Is it possible to do it using another table (does not work for me)?

分享给朋友:
您可能感兴趣的文章:
随机阅读: