MCPcopy Create free account
hub / github.com/MyGUI/mygui / updateArrange

Method updateArrange

UnitTests/UnitTest_HyperTextBox/Panel.cpp:61–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 }
60
61 void Panel::updateArrange(Widget* _widget, const IntCoord& _coordPlace)
62 {
63 updateMeasure(_widget, _coordPlace.size());
64
65 _widget->setCoord(_coordPlace);
66
67 Panel* panel = _widget->castType<Panel>(false);
68 if (panel != nullptr)
69 panel->overrideArrange();
70 }
71
72 IntSize Panel::getDesiredSize(Widget* _widget)
73 {

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
setCoordMethod · 0.45
overrideArrangeMethod · 0.45

Tested by

no test coverage detected