This.tableLayoutPanel_dataLogs.Padding = new (0, 0, .VerticalScrollBarWidth, 0) This.tableLayoutPanel_dataLogs.Name = "tableLayoutPanel_dataLogs" This.tableLayoutPanel_dataLogs.MinimumSize = new (400, 56)
![microsoft sans serif checkmark microsoft sans serif checkmark](https://www.mapzen.com/assets/images/tangram-work-developer-commentary/fontstruct.png)
This.tableLayoutPanel_dataLogs.MaximumSize = new (600, 144) This.tableLayoutPanel_dataLogs.Location = new (6, 445) This.tableLayoutPanel_(this.pictureBox1, 6, 0) This.tableLayoutPanel_(this.label4, 2, 0) This.tableLayoutPanel_(this.label5, 4, 0) This.tableLayoutPanel_(this.label3, 5, 0) This.tableLayoutPanel_(this.label2, 3, 0)
![microsoft sans serif checkmark microsoft sans serif checkmark](https://d1rytvr7gmk1sx.cloudfront.net/wp-content/uploads/2018/04/istock-618647074.jpg)
This.tableLayoutPanel_(this.label1, 1, 0) This.tableLayoutPanel_(this.checkBox_getAllDataLogs, 0, 0) This.tableLayoutPanel_dataLogs.ColumnCount = 7 This.tableLayoutPanel_dataLogs.CellBorderStyle = .InsetDouble This.tableLayoutPanel_dataLogs.AutoSizeMode = .GrowAndShrink This.tableLayoutPanel_dataLogs.AutoSize = true This.tableLayoutPanel_dataLogs.Anchor = (()((((.Top | .Bottom)
![microsoft sans serif checkmark microsoft sans serif checkmark](https://www.fileformat.info/info/unicode/font/symbola/u2713.png)
I assume this must have something to do with the scrollbar appearance settings, but I'm not quite sure what. The glitch is that white line on the right side under the checkmark image and on the border above the checkmark. The problem is, when it does add the autoscroll, it introduces this odd graphical glitch: When there is not enough data to force an autscroll, it looks like this: All the rows and columns are auto-sized, and I added padding for the vertical scrollbar so that it doesn't end up overlapping the cells (and thus forcing the creation of a horizontal scrollbar, using (on form creation): tableLayoutPanel_dataLogs.Padding = new Padding(0, 0, SystemInformation.VerticalScrollBarWidth, 0) During runtime I add or remove rows, so I set a maximum size and set it to autoscroll. I have a WinForms form with a dynamically generated TableLayoutPanel.