MCPcopy Create free account
hub / github.com/baldurk/renderdoc / ApplyRowAndColumnDims

Method ApplyRowAndColumnDims

qrenderdoc/Windows/BufferViewer.cpp:4920–4939  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4918}
4919
4920void BufferViewer::ApplyRowAndColumnDims(int numColumns, RDTableView *view, int dataColWidth)
4921{
4922 int start = 0;
4923
4924 QList<int> widths;
4925
4926 // vertex/element
4927 widths << m_IdxColWidth;
4928
4929 // mesh view only - index
4930 if(m_MeshView)
4931 widths << m_IdxColWidth;
4932
4933 for(int i = start; i < numColumns; i++)
4934 widths << dataColWidth;
4935
4936 view->verticalHeader()->setDefaultSectionSize(m_DataRowHeight);
4937
4938 view->setColumnWidths(widths);
4939}
4940
4941void BufferViewer::UpdateCurrentMeshConfig()
4942{

Callers

nothing calls this directly

Calls 1

setColumnWidthsMethod · 0.80

Tested by

no test coverage detected