From 249c4db1dead2f78b67fe8bb3b8c3de2ad2836d9 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Sat, 27 Aug 2016 16:42:39 +0200 Subject: [PATCH] Default column widths adjusted to better fit the content initially --- EventMonitor/ETWLog.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/EventMonitor/ETWLog.cpp b/EventMonitor/ETWLog.cpp index 77e99ab..e6735dc 100644 --- a/EventMonitor/ETWLog.cpp +++ b/EventMonitor/ETWLog.cpp @@ -164,11 +164,11 @@ wxETWListCtrl::wxETWListCtrl(wxWindow *parent, wxWindowID id, const wxPoint& pos m_rec_idx(wxETWEVENT_RECORDS_MAX), wxListCtrl(parent, id, pos, size, style, validator, name) { - this->AppendColumn(_("Time" ), wxLIST_FORMAT_LEFT, 100); - this->AppendColumn(_("PID" ), wxLIST_FORMAT_LEFT, 50 ); - this->AppendColumn(_("TID" ), wxLIST_FORMAT_LEFT, 50 ); - this->AppendColumn(_("Source"), wxLIST_FORMAT_LEFT, 100); - this->AppendColumn(_("Event" ), wxLIST_FORMAT_LEFT, wxLIST_AUTOSIZE_USEHEADER); + this->AppendColumn(_("Time" ), wxLIST_FORMAT_LEFT, 160); + this->AppendColumn(_("PID" ), wxLIST_FORMAT_LEFT, 50); + this->AppendColumn(_("TID" ), wxLIST_FORMAT_LEFT, 50); + this->AppendColumn(_("Source"), wxLIST_FORMAT_LEFT, 80); + this->AppendColumn(_("Event" ), wxLIST_FORMAT_LEFT, 350); // Maximum expected column widths for pre-formatted row display m_col_format_width[0] = 26;