/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/marquee/ |
H A D | marquee_layout_algorithm.cpp | 50 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 D | bubble_view.cpp | 231 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 D | stepper_layout_algorithm.cpp | 180 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 D | changelogs-arkui.md | 77 变更后:textPadding 95 分段按钮通过buttonPadding、textPadding进行按钮内边距、文本内边距的设置。
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/segmentbutton/source/ |
H A D | segmentbutton.ets | 104 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 D | checkable_component.h | 599 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 D | segmentbutton.js | 255 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 D | ohos-arkui-advanced-SegmentButton.md | 65 | 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 D | menu_view.cpp | 153 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 D | changelogs-arkui.md | 77 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 D | indexer_pattern.cpp | 1153 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 D | ohos-arkui-advanced-SegmentButton.md | 65 | 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 },
|