MeasuredSize::State heightState;
} childState = { MeasuredSize::State::MEASURED_SIZE_OK, MeasuredSize::State::MEASURED_SIZE_OK };
+ // Reset total length
+ mTotalLength = 0;
+
// measure children, and determine if further resolution is required
for( unsigned int i=0; i<GetChildCount(); ++i )
{
MeasuredSize::State heightState;
} childState = { MeasuredSize::State::MEASURED_SIZE_OK, MeasuredSize::State::MEASURED_SIZE_OK };
+ // Reset total length
+ mTotalLength = 0;
+
// measure children, and determine if further resolution is required
for( unsigned int i=0; i<GetChildCount(); ++i )
{