mirror of
https://github.com/storytold/deckcraft.git
synced 2026-10-25 19:17:06 -06:00
Hovering a table border shows a resize cursor (new hit kinds TableColumn and TableRow) and dragging it resizes, one undo step per drag, as in PowerPoint: - an inner column border moves between its two columns and the table keeps its width; - the right edge widens or narrows the last column and the table; - a row's bottom border (the last one is the table's bottom edge) sets that row's height, which stays a minimum: rows still grow to fit their text. Columns stop at 12 pt. Borders hidden inside merged cells aren't hit; the left and top edges still move the table. A border drag while a cell is edited keeps editing it. The drag goes through table.columnWidth, which takes a new keepTotal option (the next column absorbs the change), and table.rowHeight. Hit testing is done in the table's own frame, so rotated tables resize along their axes.