Lines Matching refs:top
103 int16_t top;
115 top = child->GetStyle(STYLE_MARGIN_TOP);
117 totalValidLength += (child->GetRelativeRect().GetHeight() + top + bottom);
155 int16_t top;
168 top = child->GetStyle(STYLE_MARGIN_TOP);
177 height = MATH_MAX(height, child->GetRelativeRect().GetHeight() + top + bottom);
230 int16_t top = child->GetStyle(STYLE_MARGIN_TOP);
237 posY = top + offset;
251 posY = (GetHeight() - child->GetRelativeRect().GetHeight() - top - bottom) / 2 + top + offset; // 2: half
319 int16_t top;
326 top = child->GetStyle(STYLE_MARGIN_TOP);
328 pos += top;
330 pos = top;
377 int16_t top;
389 top = child->GetStyle(STYLE_MARGIN_TOP);
391 pos += top;
393 pos = top;
400 height += child->GetRelativeRect().GetHeight() + top + bottom;
475 int16_t top = child->GetStyle(STYLE_MARGIN_TOP);
477 posY += top;
480 posY += top;
488 child->SetPosition(posX - child->GetStyle(STYLE_MARGIN_LEFT), posY - top);