MCPcopy Create free account
hub / github.com/axmolengine/axmol / setContentSize

Method setContentSize

extensions/GUI/src/GUI/ScrollView/ScrollView.cpp:500–507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

needsLayoutMethod · 0.45
_updateContentSizeMethod · 0.45

Calls 2

getContainerMethod · 0.95
updateInsetMethod · 0.95

Tested by

no test coverage detected