| 71 | } |
| 72 | |
| 73 | void PanelExtensionProperties::updateSize() |
| 74 | { |
| 75 | int height = 0; |
| 76 | |
| 77 | for (auto& field : mFields) |
| 78 | { |
| 79 | MyGUI::IntSize size = field->getContentSize(); |
| 80 | field->setCoord(MyGUI::IntCoord(0, height, mMainWidget->getWidth(), size.height)); |
| 81 | height += size.height; |
| 82 | } |
| 83 | |
| 84 | mPanelCell->setClientHeight(height); |
| 85 | } |
| 86 | |
| 87 | void PanelExtensionProperties::destroyPropertyFields() |
| 88 | { |
nothing calls this directly
no test coverage detected