Table attributes: row height, row merge, row background color #1292
Replies: 1 comment 8 replies
-
Generally speaking, no. Tables are native widgets, so they adopt the operating system-mandated style. This means features like row height isn't under the control of the end-user; they're a function of how the OS draws content in the table. There has been some discussion about specifying initial column widths; however, those API discussions haven't been completed. Cell background color could potentially fit into those discussions, but hasn't been to date. As for merging rows/columns - while I'm familiar with the practice in the context of HTML tables, I'm not sure how that would map into a native widget. Although they share a name, they're not really the same concept. More generally, you should be wary of "how can I do this HTML thing in Toga" lines of reasoning. Although we're using a CSS-like language for configuration, Toga isn't HTML - by design. We've deliberately restricted what can be done visually to preserve native look and feel, and we'll be hesitant to introduce features that allow developers to work around that design choice. |
Beta Was this translation helpful? Give feedback.
-
Are these possible?
If yes, how? style=Pack doesn't work for the above. Please help.
Beta Was this translation helpful? Give feedback.
All reactions