This table shows how an edittextwidget overlaps the fourth button. I want the two first columns (link+buttons) to be narrow, and the editor and its column to be maximally wide - but I don’t have any good solution.
For anyone kind enough to dabble around, a tip is to use the arrow button in that tiddlers toolbar, to open the SideEditor for easy and live css editing.
Pretty sure it comes down to tables only being designed to pleasantly display simple, tabular data. No one’s updated the spec for more precise layout but instead (eventually) got a bunch of other, easier layout options.
It looks like tables just ignore most of the current sizing options that would still really come in handy for tabular data display—fit-content, min-content, max-content.
You can of course move the styles to CSS if you wish, but, other than that, pure HTML.
Is the 9em width “valid”? If you’re specifying widths for the SVG elements, sure. But I do agree with @Brian_Radspinner here, table layout can be tricky without resort to drastic thuggery using grids etc.
For the record, I think I got it working for a standard table:
I think the key problem was the svg in the button which doesn’t intrinsically take up any width, so one has to set it explicitly. (Still strange that it wasn’t enough to only set width for the buttons.)
In the following I’ve also added another aspect; I wanted to keep the table HTML as clean as possible, thus only giving a class to the table itself and thereafter let the CSS do the targeting.)