-
Dec 26th, 2017, 06:30 AM
#1
Thread Starter
New Member
How to fit label into cell in TableLayoutPanel
Hi, i want to fit labels totally to the cell of the table. However, the best i could get is fit top and lower only. There will always some gap on the side of the cell. For example the size of my cell is 100, 70 but maximum size of the label in cell can only go up to 94, 70. Can anyone help my out or should i use another method?
Thanks
-
Dec 26th, 2017, 03:18 PM
#2
Re: How to fit label into cell in TableLayoutPanel
Turn off the autosize property then set the dock mode to fill.
If it's still not filling, then look to the TableLayoutPanel and see if there is any padding on the cells.
-tg
-
Dec 27th, 2017, 09:44 AM
#3
Thread Starter
New Member
Re: How to fit label into cell in TableLayoutPanel
That doesn't work for me. All padding are at 0 and i had enter again just to make sure.
I had decided to put multiple label into table format as that also suit my needs.
Anyways thanks for the help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|