Home
last modified time | relevance | path

Searched refs:textPadding (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/marquee/
H A Dmarquee_layout_algorithm.cpp50 PaddingProperty textPadding; in Measure() local
51 textPadding.left = CalcLength(padding.left.value()); in Measure()
52 textPadding.right = CalcLength(padding.right.value()); in Measure()
53 textPadding.top = CalcLength(padding.top.value()); in Measure()
54 textPadding.bottom = CalcLength(padding.bottom.value()); in Measure()
55 child->GetLayoutProperty()->UpdatePadding(textPadding); in Measure()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/bubble/
H A Dbubble_view.cpp231 PaddingProperty textPadding; in CreateBubbleNode() local
232 textPadding.left = CalcLength(padding.Left()); in CreateBubbleNode()
233 textPadding.right = CalcLength(padding.Right()); in CreateBubbleNode()
234 textPadding.top = CalcLength(padding.Top()); in CreateBubbleNode()
235 textPadding.bottom = CalcLength(padding.Bottom()); in CreateBubbleNode()
236 layoutProps->UpdatePadding(textPadding); in CreateBubbleNode()
675 PaddingProperty textPadding; in CreateCombinedChild() local
676 textPadding.left = CalcLength(padding.Left()); in CreateCombinedChild()
677 textPadding.right = CalcLength(padding.Right()); in CreateCombinedChild()
678 textPadding.top = CalcLength(padding.Top()); in CreateCombinedChild()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stepper/
H A Dstepper_layout_algorithm.cpp180 PaddingProperty textPadding; in MeasureRightButton() local
181 textPadding.top = CalcLength(PADDING.ConvertToPx(), DimensionUnit::PX); in MeasureRightButton()
182 textPadding.bottom = CalcLength(PADDING.ConvertToPx(), DimensionUnit::PX); in MeasureRightButton()
183 rightButtonWrapper->GetLayoutProperty()->UpdatePadding(textPadding); in MeasureRightButton()
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.1.5.3/
H A Dchangelogs-arkui.md77 变更后:textPadding
95 分段按钮通过buttonPadding、textPadding进行按钮内边距、文本内边距的设置。
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/segmentbutton/source/
H A Dsegmentbutton.ets104 textPadding?: Padding | Dimension
270 public textPadding: Padding | Dimension | undefined
306 this.textPadding = options.textPadding
350 textPadding: options.textPadding,
373 textPadding: options.textPadding,
501 if (this.options.textPadding !== void (0)) {
502 return this.options.textPadding
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/checkable/
H A Dcheckable_component.h599 void SetTextPadding(const Dimension& textPadding) in SetTextPadding() argument
601 textPadding_ = textPadding; in SetTextPadding()
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/segmentbutton/interfaces/
H A Dsegmentbutton.js255 this.textPadding = options.textPadding;
299 textPadding: options.textPadding,
322 textPadding: options.textPadding,
850 if (this.options.textPadding !== void (0)) {
851 return this.options.textPadding;
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dohos-arkui-advanced-SegmentButton.md65 | textPadding | [Padding](ts-types.md#padding) \| [Dimension](ts-types.md#dim…
168 | textPadding | [Padding](ts-types.md#padding) \| [Dimension](ts-types.md#dim…
669 textPadding: {
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/
H A Dmenu_view.cpp153 PaddingProperty textPadding; in CreateTitleNode() local
154 textPadding.left = CalcLength(padding); in CreateTitleNode()
155 textPadding.right = CalcLength(padding); in CreateTitleNode()
156 textProperty->UpdatePadding(textPadding); in CreateTitleNode()
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.1.5.3/
H A Dchangelogs-arkui.md77 After change: **textPadding**
95 …ings in the **\<SegmentButton>** component are **buttonPadding** and **textPadding**, respectively.
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/indexer/
H A Dindexer_pattern.cpp1153 auto textPadding = Dimension(IndexerTheme::TEXT_PADDING_LEFT, DimensionUnit::VP).ConvertToPx(); in UpdateBubbleLetterStackAndLetterTextView() local
1155 { CalcLength(textPadding), CalcLength(textPadding), CalcLength(0), CalcLength(0) }); in UpdateBubbleLetterStackAndLetterTextView()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dohos-arkui-advanced-SegmentButton.md65 | textPadding | [Padding](ts-types.md#padding) \| [Dimension](ts-types.md#dimension10) …
168 | textPadding | [Padding](ts-types.md#padding) \| [Dimension](ts-types.md#dimension10) …
669 textPadding: { top: 10, right: 10, bottom: 10, left: 10 },