我创建了一个TableLayoutPanel,我想减小其中一列的宽度。TableLayoutPanel.ColumnStyles 是要走的路吗?我发现 MSDN 文档令人困惑。如何应用 tableLayoutPanel.ColumnStyle?
self.tableLayoutPanel.Location = Point(20,80)
self.tableLayoutPanel.Size = Size(200,50)
self.tableLayoutPanel.RowCount = 2
self.tableLayoutPanel.ColumnCount = 6
self.tableLayoutPanel.AutoSize = True
self.tableLayoutPanel.AutoScroll = False
self.tableLayoutPanel.CellBorderStyle = TableLayoutPanelCellBorderStyle.Outset
#self.tableLayoutPanel.ColumnStyles = ??