MCPcopy Create free account
hub / github.com/SpartanJ/eepp / updateRow

Method updateRow

src/eepp/ui/uiwidgettablerow.cpp:70–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void UIWidgetTableRow::updateRow() {
71 onAutoSize();
72
73 UIWidgetTable* P = gridParent();
74
75 for ( Uint32 i = 0; i < mCells.size(); i++ ) {
76 mCells[i]->setPosition( P->getColumnPosition( i ), 0 );
77 mCells[i]->setSize( P->getColumnWidth( i ), P->getRowHeight() );
78 }
79}
80
81void UIWidgetTableRow::select() {
82 UIWidgetTable* MyParent = getParent()->getParent()->asType<UIWidgetTable>();

Callers 2

updateCellsMethod · 0.45
overFindMethod · 0.45

Calls 6

getColumnWidthMethod · 0.80
sizeMethod · 0.45
setPositionMethod · 0.45
getColumnPositionMethod · 0.45
setSizeMethod · 0.45
getRowHeightMethod · 0.45

Tested by

no test coverage detected