【发布时间】:2020-09-25 00:35:14
【问题描述】:
我找不到像这样为行设置背景的任何方法:
我只得到了一个可能的解决方案的堆栈,但它只适用于一个单元格。
谢谢。
编辑:
我关注了@tekkerue answer,但没有得到所需的结果,背景仍然在内表之外:
我使用像素图作为背景纹理:
Pixmap pixmap = new Pixmap(1,1,Pixmap.Format.RGB565);
pixmap.setColor(color);
pixmap.fill();
【问题讨论】:
-
我得到了解决方案。 Libgdx Table 默认使用 setRound(true)。设置为假
标签: libgdx tablelayout