MCPcopy Create free account
hub / github.com/analogdevicesinc/scopy / updateLayout

Method updateLayout

gui/src/flexgridlayout.cpp:197–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195}
196
197void FlexGridLayout::updateLayout()
198{
199 if(availableWidth != this->width()) {
200 if(m_activeWidgetList.size() > 0) {
201 computeCols(m_widgetList.at(m_activeWidgetList.at(0))->minimumSizeHint().width());
202 }
203 } else {
204 recomputeColCount();
205 }
206 updatePending = false;
207}
208
209void FlexGridLayout::recomputeColCount()
210{

Callers

nothing calls this directly

Calls 1

minimumSizeHintMethod · 0.45

Tested by

no test coverage detected