I have a column in a grid that has variable amounts of data for different rows.
I have set wordwrap := True and formatted the data as an unordered list. A row can have from 1 to 4 items in the list.
In formatting the cell it looks as though there is a blank line at the beginning of the text, and a number of blank lines at the end. The number at the end looks like 1 plus the number of items in the list. This is giving quite a large blank area under the text.
What is the exact purpose of the grid that you want to apply? Can you send us a screenshot of what you mean exactly with the blank area under the text? There is margin applied of 2 pixels, so the text doesn't stick to the edges of the cell.
FStringBuilder.Append('<ul>'); for iIndex := 1 to 4 do begin sName := 'Interval' + iIndex.ToString; lBytes := rrData.GetByNameAsBytes(sName); if Length(lBytes) > 0 then begin lNovaMsg.Clear; ExtractContent(lNovaMsg, lBytes); if not CompareMem(@lClockInterval[0], @lNovaMsg.ClockMsg.TIntervals[0], 32) then begin FStringBuilder.AppendFormat('<li> Interval [%d] ', [iIndex]); for iDayNo := 0 to 7 do begin FStringBuilder.AppendFormat(' %s ', [DofW[iDayNo]]);