Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 Table ,如果行是奇数或偶数,我将其组件 UIID 设置为oddRowsCell 和 evenRowsCell。在资源编辑器中,我在选定和未选定选项中为 UIID 设置了背景颜色样式。问题是在运行时呈现表格单元格的标签没有完全占据表格的网格单元格。那么如何让 Label 占据 Tables 的网格单元格呢?
真的非常感谢
将单元格的填充设置为 0。您可以在主题中通过更改 even/oddRowCell 的填充来执行此操作