MCPcopy
hub / github.com/buildbot/buildbot / isBigTable

Function isBigTable

www/console_view/src/views/ConsoleView/ConsoleView.tsx:368–374  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

366 // Depending on number of builders, and size of window, we need a fixed column size or a
367 // 100% width table
368 const isBigTable = () => {
369 const padding = rowHeaderWidth;
370 if (((windowSize.width - padding) / buildersToShow.length) < 40) {
371 return true;
372 }
373 return false;
374 }
375
376 const getColHeaderHeight = () => {
377 let maxBuilderName = 0;

Callers 1

ConsoleView.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected