diff --git a/src/apps/debugger/user_interface/gui/team_window/ImageFunctionsView.cpp b/src/apps/debugger/user_interface/gui/team_window/ImageFunctionsView.cpp index ac6edbe46e..f293914875 100644 --- a/src/apps/debugger/user_interface/gui/team_window/ImageFunctionsView.cpp +++ b/src/apps/debugger/user_interface/gui/team_window/ImageFunctionsView.cpp @@ -707,9 +707,6 @@ ImageFunctionsView::SetImageDebugInfo(ImageDebugInfo* imageDebugInfo) fFunctionsTable->SetNodeExpanded(path, true, false); } - if (fImageDebugInfo != NULL) - fFunctionsTable->ResizeAllColumnsToPreferred(); - TRACE_GUI("ImageFunctionsView::SetImageDebugInfo(%p) done\n", imageDebugInfo); } @@ -725,7 +722,6 @@ ImageFunctionsView::SetFunction(FunctionInstance* function) fFunctionsTable->SetNodeExpanded(path, true, true); fFunctionsTable->SelectNode(path, false); fFunctionsTable->ScrollToNode(path); - fFunctionsTable->ResizeAllColumnsToPreferred(); } else fFunctionsTable->DeselectAllNodes(); } @@ -827,7 +823,7 @@ ImageFunctionsView::_Init() fFunctionsTable->SetSortingEnabled(false); float addressWidth = be_plain_font->StringWidth("0x00000000") - + be_control_look->DefaultLabelSpacing() * 2 + 5; + + be_control_look->DefaultLabelSpacing() * 3; // columns fFunctionsTable->AddColumn(fHighlightingColumn @@ -862,8 +858,6 @@ ImageFunctionsView::_ExpandFilteredNodes() fFunctionsTable->SetNodeExpanded(path, true, true); } } - - fFunctionsTable->ResizeAllColumnsToPreferred(); }