如何使Table的单元格标签组件占据所有网格单元格区域?
我有一个 Table ,如果行是奇数或偶数,我将其组件 UIID 设置为 oddRowsCell 和 EvenRowsCell 。在资源编辑器中,我为选定和未选定选项中的 UIID 设置背景颜色样式。 问题在于,在运行时,呈现表格单元格的标签没有完全占据表格的网格单元格。那么如何让Label占据Tables的网格单元呢?
确实非常感谢
I have a Table , and I set its components UIID to oddRowsCell and evenRowsCell if the row is odd or even. In the resource editor I set background color styles for both UIID in the selected and unselected options.
The problem is that in runtime the Label which renders the table cells is not fully occupying the Table's grid cells. So how to make the Label occupy the Tables's grid cell ?
Thank you very much indeed
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将单元格的填充设置为 0。您可以在主题中通过更改 Even/oddRowCell 的填充来完成此操作
Set the padding of the cells to 0. You can do this in the theme by changing the padding of even/oddRowCell