View Single Post
06/20/17, 04:57 AM   #4
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,578
A scroll list only renders rows that are actually visible on the screen. The other rows do not actually exist while out of view. In order to correctly show the scroll bar and position the elements, the scroll list somehow needs to know how much height all rows will take, but for the non-existing rows it can't call GetHeight, so it uses a predefined height based on the datatype instead.

There are a few possibilities to get dynamic heights to work, but they are rather complicated. Your easiest option is to make sure the text doesn't break into a new row. Either you make your list wide enough, or you cut the text off when it is too long (TextWrapMode) and show a tooltip on mouseover.
  Reply With Quote