message: Let user create graph rows be resizable based on their types
diff: @@ -392,15 +392,19 @@ void event_renderer_t::draw()
  imgui_drawrect( x0, width, y, h, color );
  }
  -static option_id_t get_comm_option_id( const std::string &row_name )
  +static option_id_t get_comm_option_id( const std::string &row_name, loc_type_t row_type )
  {
  option_id_t optid = s_opts().get_opt_graph_rowsize_id( row_name );
  if ( optid != OPT_Invalid )
  return optid;
  - if ( !strncmp( row_name.c_str(), "plot:", 5 ) )
  + if ( row_type == LOC_TYPE_Print ||
  + row_type == LOC_TYPE_Plot ||
  + row_type == LOC_TYPE_Timeline )
  + {
  return s_opts().add_opt_graph_rowsize( row_name.c_str() );
  + }
  return OPT_Invalid;
  }
  @@ -448,17 +452,17 @@ void graph_info_t::init_row_info( TraceWin *win, const std::vector< GraphRows::g
  else if ( rinfo.row_type == LOC_TYPE_Print )
  {
  // ftrace print row
  - optid = get_comm_option_id( rinfo.row_name );
  + optid = get_comm_option_id( rinfo.row_name, rinfo.row_type );
  rinfo.render_cb = std::bind( &TraceWin::graph_render_print_timeline, win, _1 );
  }
  else if ( rinfo.row_type == LOC_TYPE_Plot )
  {
  - optid = get_comm_option_id( rinfo.row_name );
  + optid = get_comm_option_id( rinfo.row_name, rinfo.row_type );
  rinfo.render_cb = std::bind( &TraceWin::graph_render_plot, win, _1 );
  }
  else if ( rinfo.row_type == LOC_TYPE_Timeline )
  {
  - optid = get_comm_option_id( rinfo.row_name );
  + optid = get_comm_option_id( rinfo.row_name, rinfo.row_type );
  rinfo.render_cb = std::bind( &TraceWin::graph_render_row_timeline, win, _1 );
  }
  else if ( rinfo.row_type == LOC_TYPE_Timeline_hw )
  @@ -3024,7 +3028,7 @@ bool TraceWin::graph_render_popupmenu( graph_info_t &gi )
  zoom_graph_row();
  }
  - optid = get_comm_option_id( m_graph.mouse_over_row_name.c_str() );
  + optid = get_comm_option_id( m_graph.mouse_over_row_name.c_str(), m_graph.mouse_over_row_type );
  label = string_format( "Hide row '%s'", m_graph.mouse_over_row_name.c_str() );
  if ( ImGui::MenuItem( label.c_str() ) )
  