mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-28 01:10:54 +01:00
A drop-down list measures itself against the whole window on the pass it opens and takes the room beside its field on the next pass. The current option was scrolled into view only on the first pass, so where the room beside the field was less than half the list, the option could end up below the rows shown. It now scrolls into view on both passes. The new test opens a 20-option list in windows 260 and 180 points tall with the current option at its end, in its middle and near its start, and checks that the option shows whole inside the list's clip.