ChatTables
The tables of a chat message: whole words in each cell, and a table wider than its bubble that scrolls sideways (trove-navigation TNX-41).
| Group | libwidgets |
Detailed description
Qt lays out a table that does not fit by breaking the words of its cells at any letter: "RVR.DR" over "V.1". A label breaks at spaces only, and cut the table at the edge of the bubble instead. fit() sets the width of each column so that a cell breaks at spaces only, and a table whose words do not fit is wider than the text. paint() draws such a table moved by its offset, cut at the width, with a bar under it.
See also ChatBubbleDelegate, ChatProseView.