| 498 | } |
| 499 | |
| 500 | void ScrollView::setContentSize(const Size& size) |
| 501 | { |
| 502 | if (this->getContainer() != nullptr) |
| 503 | { |
| 504 | this->getContainer()->setContentSize(size); |
| 505 | this->updateInset(); |
| 506 | } |
| 507 | } |
| 508 | |
| 509 | void ScrollView::updateInset() |
| 510 | { |
no test coverage detected