| 195 | } |
| 196 | |
| 197 | void 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 | |
| 209 | void FlexGridLayout::recomputeColCount() |
| 210 | { |
nothing calls this directly
no test coverage detected