Home
last modified time | relevance | path

Searched refs:controlHeight (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stepper/
H A Dstepper_layout_algorithm.cpp360 auto controlHeight = static_cast<float>(stepperTheme->GetControlHeight().ConvertToPx()); in LayoutLeftButton() local
362 …uto buttonHeightOffset = layoutWrapper->GetGeometryNode()->GetFrameSize().Height() - controlHeight; in LayoutLeftButton()
363 buttonHeightOffset += (controlHeight - buttonHeight) / 2; in LayoutLeftButton()
401 auto controlHeight = static_cast<float>(stepperTheme->GetControlHeight().ConvertToPx()); in LayoutRightButton() local
403 …uto buttonHeightOffset = layoutWrapper->GetGeometryNode()->GetFrameSize().Height() - controlHeight; in LayoutRightButton()
404 buttonHeightOffset += (controlHeight - buttonHeight) / 2; in LayoutRightButton()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/stepper/
H A Dstepper_component.h239 void SetControlHeight(const Dimension& controlHeight) in SetControlHeight() argument
241 controlHeight_ = controlHeight; in SetControlHeight()