Sublime Forum

Preview of ListInputHandler cutoff. Expected behavior or can I fix?

#1

Hi,

I am using a ListInputHandler and the preview area is cutoff under the following conditions.

  1. The first item in the list has a 1 line preview (in the image: just the part that says “COMPLETED”)
  2. When I change to the second line (key down), the preview is cutoff. The preview area seems to be restricted in size to whatever was shown for the first list item. The rest is cutoff. (in the image: the first line with “COMPLETED” is visible as before but the part below gets cutoff (see highlighted part)
  3. When the first list item uses the larger preview area, the additional space is blank when I change the selected list item.

Is this expected behavior? That would mean that the size of the preview area is set based on the preview of the first list item and not dynamically adjusted.

0 Likes

#2

it may be expected due to the implementation detail, because the quick panels work the same way from what I recall

0 Likes