| 150 | } |
| 151 | |
| 152 | void PanelControllers::updateSize() |
| 153 | { |
| 154 | int height = mButtonDelete->getCoord().bottom() + 3; |
| 155 | |
| 156 | for (auto& field : mFields) |
| 157 | { |
| 158 | MyGUI::IntSize size = field->getContentSize(); |
| 159 | field->setCoord(MyGUI::IntCoord(0, height, mMainWidget->getWidth(), size.height)); |
| 160 | height += size.height; |
| 161 | } |
| 162 | |
| 163 | mPanelCell->setClientHeight(height); |
| 164 | } |
| 165 | |
| 166 | void PanelControllers::loadControllerTypes( |
| 167 | MyGUI::xml::ElementPtr _node, |
nothing calls this directly
no test coverage detected