如何使Table的单元格标签组件占据所有网格单元格区域?

发布于 2024-11-10 06:23:48 字数 183 浏览 4 评论 0原文

我有一个 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

茶花眉 2024-11-17 06:23:48

将单元格的填充设置为 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文