From ad1ef9f4c94f4943339b821fc94e1fb3baa41656 Mon Sep 17 00:00:00 2001 From: Michael Kavanagh Date: Thu, 3 Sep 2020 18:50:05 +0100 Subject: [PATCH] Pcbnew: Enable resize of net inspector columns Fixes https://gitlab.com/kicad/code/kicad/issues/5467 --- pcbnew/dialogs/dialog_select_net_from_list.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/dialogs/dialog_select_net_from_list.cpp b/pcbnew/dialogs/dialog_select_net_from_list.cpp index 6d78cbe802..d483ca64bd 100644 --- a/pcbnew/dialogs/dialog_select_net_from_list.cpp +++ b/pcbnew/dialogs/dialog_select_net_from_list.cpp @@ -129,7 +129,8 @@ DIALOG_SELECT_NET_FROM_LIST::DIALOG_SELECT_NET_FROM_LIST( PCB_EDIT_FRAME* aParen m_brd = aParent->GetBoard(); m_wasSelected = false; -#define ADD_COL( name, flag, align ) m_netsList->AppendTextColumn( name, flag, 0, align, 0 ); +#define ADD_COL( name, flag, align ) m_netsList->AppendTextColumn( name, flag, 0, align, \ + wxDATAVIEW_COL_RESIZABLE ); ADD_COL( COLUMN_NET.display_name, wxDATAVIEW_CELL_INERT, wxALIGN_LEFT ); ADD_COL( COLUMN_NAME.display_name, wxDATAVIEW_CELL_INERT, wxALIGN_LEFT ); @@ -1003,4 +1004,3 @@ void DIALOG_SELECT_NET_FROM_LIST::onReport( wxCommandEvent& aEvent ) f.Write(); f.Close(); } -