TextCell Spacing in TableView

Anonymous
2023-04-18T00:38:42.52+00:00

Hi, How can I add spacing between the TableCells in TableView so they won't be very close to each other just like the below screenshot? 60c7f83c-6479-4621-9f1e-5ce860072c89

Thanks, Jassim

Developer technologies | .NET | .NET MAUI
{count} votes

1 answer

Sort by: Most helpful
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 50,156 Reputation points Microsoft External Staff
    2023-04-18T03:14:33.9733333+00:00

    Hello,

    In MAUI, you could use the TableView's RowHeight property to define the height of each row to increase line spacing, such as <TableView Intent="Settings" RowHeight="100">.

    RowHeight, of type int, determines the height of each row when HasUnevenRows is false.

    Please refer to TableView to get more details.

    Best Regards,

    Alec Liu.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.