I'm using a TableLayoutPanel which will contain a few dynamically generated LinkLabel's I get everything except the extra spaces in 1st and 2nd row. I've attached a snapshot through screecast. Can anyone tell me how to remove this extra thing?

Heres the snap shot link : http://screencast.com/t/dZqRzSZU

Recommended Answers

All 5 Replies

It looks to me the first 2 rows are set up to use 50% each and the other rows are fit in as best they can. Try making the row height value literal instead of a percentage.

Yes in Rows 50% was chosen as default. I changed it to autosize and now it works properly :)

Add an empty string between each entry or calculate a percentage if you know how many entries you have.

Thanks that helped :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.