Changeset 3624 for trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/RemotePluginInstaller.cs
- Timestamp:
- 05/05/10 10:38:19 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/RemotePluginInstaller.cs
r3608 r3624 208 208 allPluginsListViewItem.ImageIndex = 0; 209 209 productsListView.Items.Add(allPluginsListViewItem); 210 foreach (ColumnHeader column in productsListView.Columns) 211 if (productsListView.Items.Count > 0) 212 column.AutoResize(ColumnHeaderAutoResizeStyle.ColumnContent); 213 else column.AutoResize(ColumnHeaderAutoResizeStyle.HeaderSize); 210 Util.ResizeColumns(productsListView.Columns.OfType<ColumnHeader>()); 214 211 } 215 212 … … 237 234 } 238 235 239 foreach (ColumnHeader column in pluginsListView.Columns) 240 if (pluginsListView.Items.Count > 0) 241 column.AutoResize(ColumnHeaderAutoResizeStyle.ColumnContent); 242 else column.AutoResize(ColumnHeaderAutoResizeStyle.HeaderSize); 243 236 Util.ResizeColumns(pluginsListView.Columns.OfType<ColumnHeader>()); 244 237 pluginsListView.SuppressItemCheckedEvents = false; 245 238 }
Note: See TracChangeset
for help on using the changeset viewer.