+ wxClientDC dc (GetParent());
+ dc.SetFont (wxSWISS_FONT->Bold());
+
+ _column_widths.clear ();
+ _column_widths.reserve (_output_channels.size());
+ _column_widths_total = 0;
+
+ for (auto const& i: _output_channels) {
+ wxCoord width;
+ wxCoord height;
+ dc.GetTextExtent (std_to_wx(i.name), &width, &height);
+ auto const this_width = max(width + COLUMN_PADDING, MINIMUM_COLUMN_WIDTH);
+ _column_widths.push_back (this_width);
+ _column_widths_total += this_width;
+ }
+