mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-19 21:26:26 +01:00
canvastable: finish comment
This commit is contained in:
parent
a8cc0be45c
commit
747a49006c
1 changed files with 5 additions and 1 deletions
|
|
@ -557,8 +557,12 @@ Table::compute (Rect const & within)
|
||||||
probably too small/too large.
|
probably too small/too large.
|
||||||
|
|
||||||
So... where is the start of the next
|
So... where is the start of the next
|
||||||
column.
|
column. Well, it's at the greater of
|
||||||
|
(a) right edge of this cell's
|
||||||
|
natural box OR (b) wherever the nth
|
||||||
|
elastic column would be.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* rect already includes padding.left */
|
/* rect already includes padding.left */
|
||||||
hpos = std::max (rect.x1 + ci->second.padding.right, padding.left + (elastic_col_width * (c + 1)));
|
hpos = std::max (rect.x1 + ci->second.padding.right, padding.left + (elastic_col_width * (c + 1)));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue