Datagrid - Style Table - single line height reduced
Posted: Mon Dec 29, 2014 10:33 am
Hi,
I am using a Datagrid with style being Table. I have set the height of each row to 60. The row data is 3 lots of string data separated by crlf. So far so good. If I have more than one row of data to display all of the rows display fine, however, if there is only one row to display only the first lot of data is displayed ie up to the first crlf. If I then select that row, only the portion that is displayed is highlighted. As soon as there is a second row to display, the behaviour corrects itself. It is almost as if the height of a row is reduced when there is only one row to display.
I am puzzled, as I am new to Livecode I am probably doing something wrong. Any ideas?
Thanks,
Hilton.
I am using a Datagrid with style being Table. I have set the height of each row to 60. The row data is 3 lots of string data separated by crlf. So far so good. If I have more than one row of data to display all of the rows display fine, however, if there is only one row to display only the first lot of data is displayed ie up to the first crlf. If I then select that row, only the portion that is displayed is highlighted. As soon as there is a second row to display, the behaviour corrects itself. It is almost as if the height of a row is reduced when there is only one row to display.
I am puzzled, as I am new to Livecode I am probably doing something wrong. Any ideas?
Thanks,
Hilton.