Page 1 of 1

Don't shrink tooltips immediately (or at all?) to fit the number of items/signals

Posted: Mon Nov 04, 2024 8:19 pm
by Tinyboss
TL;DR
To prevent content jumping around on screen, add a delay before shrinking the tooltip when the number of rows goes down.

What?
Viewing this combinator, the bottom half of the tooltip was jumping around because inserters were adding and removing items from the hub inventory (top section), and it was right on the cusp of needing to display an extra row of icons:
11-04-2024, 14-12-26.png
11-04-2024, 14-12-26.png (598.23 KiB) Viewed 150 times
I suggest that instead of shrinking the tooltip instantly when the number of rows is reduced, it could be done only after one second or so. And if the number of rows goes back up during that second, it resets the timer.

Or maybe just never reduce the number of rows for as long as the tooltip is visible.
Why?
Because the flickering back and forth makes it hard to read.