/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | arkts-common-components-text-display.md | 134 - 通过[textOverflow](../reference/apis-arkui/arkui-ts/ts-basic-components-text.md#textoverflow)属性控制文本… 137 …textOverflow to Clip text content This is the setting of textOverflow to None text content. This i… 139 .textOverflow({ overflow: TextOverflow.None }) 146 .textOverflow({ overflow: TextOverflow.Ellipsis }) 153 .textOverflow({ overflow: TextOverflow.MARQUEE }) 345 该示例通过maxLines、textOverflow、textAlign、constraintSize属性展示了热搜榜的效果。 360 .textOverflow({ overflow: TextOverflow.Ellipsis }) 382 .textOverflow({ overflow: TextOverflow.Ellipsis }) 403 .textOverflow({ overflow: TextOverflow.Ellipsis }) 424 .textOverflow({ overflow: TextOverflow.Ellipsis })
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-common-components-text-display.md | 134 - Use the [textOverflow](../reference/apis-arkui/arkui-ts/ts-basic-components-text.md#textoverflow)… 137 …textOverflow to Clip text content This is the setting of textOverflow to None text content. This i… 139 .textOverflow({ overflow: TextOverflow.None }) 146 .textOverflow({ overflow: TextOverflow.Ellipsis }) 153 .textOverflow({ overflow: TextOverflow.MARQUEE }) 348 This example demonstrates how to implement a hot search list using the **maxLines**, **textOverflow… 363 .textOverflow({ overflow: TextOverflow.Ellipsis }) 385 .textOverflow({ overflow: TextOverflow.Ellipsis }) 406 .textOverflow({ overflow: TextOverflow.Ellipsis }) 427 .textOverflow({ overflow: TextOverflow.Ellipsis })
|
/ohos5.0/docs/zh-cn/third-party-cases/ |
H A D | Use-the-Badge-component-to-display-the-number-of-unread-messages-in-a-chat.md | 54 .textOverflow({ overflow: TextOverflow.Clip }) 60 .textOverflow({ overflow: TextOverflow.Ellipsis }) 184 .textOverflow({ overflow: TextOverflow.Clip }) 190 .textOverflow({ overflow: TextOverflow.Ellipsis })
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/ |
H A D | text_tdd_exception_test.cpp | 52 const char* textOverflow = "textOverflow"; in ComponentTextStyleSetExceptionTest007() local 54 UpdateCharAttributeOrStyleValue(textComponent, textOverflow, expectOverflowException, false); in ComponentTextStyleSetExceptionTest007()
|
H A D | text_tdd_test.cpp | 151 const char* textOverflow = "textOverflow"; in ComponentTextStyleSetOverflowTest003() local 158 JerrySetStringProperty(styleObj_, textOverflow, expectOverflowClip); in ComponentTextStyleSetOverflowTest003() 176 UpdateCharAttributeOrStyleValue(textComponent, textOverflow, expectOverflowEllipsis, false); in ComponentTextStyleSetOverflowTest003() 189 UpdateCharAttributeOrStyleValue(textComponent, textOverflow, expectOverflowBreak, false); in ComponentTextStyleSetOverflowTest003() 202 UpdateCharAttributeOrStyleValue(textComponent, textOverflow, expectOverflowExpand, false); in ComponentTextStyleSetOverflowTest003()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-gauge.md | 293 .textOverflow({ overflow: TextOverflow.Ellipsis }) 355 .textOverflow({ overflow: TextOverflow.Ellipsis }) 406 .textOverflow({ overflow: TextOverflow.Ellipsis }) 453 .textOverflow({ overflow: TextOverflow.Ellipsis }) 509 .textOverflow({ overflow: TextOverflow.Ellipsis }) 549 .textOverflow({ overflow: TextOverflow.Ellipsis }) 596 .textOverflow({ overflow: TextOverflow.Ellipsis }) 723 .textOverflow({ overflow: TextOverflow.Ellipsis })
|
H A D | ts-basic-components-text.md | 59 ### textOverflow subsection 61 textOverflow(value: { overflow: TextOverflow }) 1176 该示例通过maxLines、textOverflow、ellipsisMode属性展示了文本超长省略以及调整省略位置的效果。 1203 …textOverflow to Clip text content This is the setting of textOverflow to None text content. This i… 1204 .textOverflow({ overflow: TextOverflow.Clip }) 1209 …Text('This is set textOverflow to Ellipsis text content This is set textOverflow to Ellipsis text … 1210 .textOverflow({ overflow: TextOverflow.Ellipsis }) 1217 .textOverflow({ overflow: TextOverflow.MARQUEE }) 1223 .textOverflow({ overflow: TextOverflow.Ellipsis }) 1282 .textOverflow({ overflow: TextOverflow.Ellipsis }) [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | paragraph.h | 136 TextOverflow textOverflow = TextOverflow::CLIP; member 147 ellipsisMode == others.ellipsisMode && textOverflow == others.textOverflow && 165 result += V2::ConvertWrapTextOverflowToString(textOverflow); in ToString()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_paint_method.cpp | 62 auto textOverflow = layoutProperty->GetTextOverflow(); in UpdateContentModifier() local 63 if (textOverflow.has_value() && textOverflow.value() == TextOverflow::MARQUEE) { in UpdateContentModifier()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/tabs/ |
H A D | tabs_sub_tab_bar_style_test_ng.cpp | 642 EXPECT_EQ(tabContentPattern->GetLabelStyle().textOverflow, std::nullopt); 684 EXPECT_EQ(tabContentPattern->GetLabelStyle().textOverflow, std::nullopt); 735 labelStyle.textOverflow = TextOverflow::CLIP; 748 EXPECT_EQ(tabContentPattern->GetLabelStyle().textOverflow, labelStyle.textOverflow); 789 labelStyle.textOverflow = TextOverflow::CLIP; 802 EXPECT_EQ(tabContentPattern->GetLabelStyle().textOverflow, labelStyle.textOverflow); 999 labelStyle.textOverflow = TextOverflow::CLIP; 1021 EXPECT_EQ(layoutProperty->GetTextOverflow(), labelStyle.textOverflow); 1054 labelStyle.textOverflow = TextOverflow::CLIP; 1074 EXPECT_EQ(layoutProperty->GetTextOverflow(), labelStyle.textOverflow); [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/Component/ |
H A D | entryComponent.ets | 51 .textOverflow({ overflow : TextOverflow.Ellipsis }) 58 .textOverflow({ overflow : TextOverflow.Ellipsis }) 67 .textOverflow({ overflow : TextOverflow.Ellipsis })
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/entry/src/main/ets/Component/ |
H A D | entryComponent.ets | 50 .textOverflow({ overflow : TextOverflow.Ellipsis }) 57 .textOverflow({ overflow : TextOverflow.Ellipsis }) 66 .textOverflow({ overflow : TextOverflow.Ellipsis })
|
/ohos5.0/foundation/arkui/advanced_ui_component/source/SubHeader/ |
H A D | SubHeader.ets | 139 .textOverflow({ overflow: TextOverflow.Ellipsis }) 155 .textOverflow({ overflow: TextOverflow.Ellipsis }) 169 .textOverflow({ overflow: TextOverflow.Ellipsis }) 184 .textOverflow({ overflow: TextOverflow.Ellipsis }) 192 .textOverflow({ overflow: TextOverflow.Ellipsis })
|
/ohos5.0/foundation/ability/ability_runtime/services/dialog_ui/ams_system_dialog/entry/src/main/ets/view/ |
H A D | TitileComponent.ets | 67 .textOverflow({ overflow: TextOverflow.Ellipsis }) 79 .textOverflow({ overflow: TextOverflow.Ellipsis })
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/ |
H A D | span_object.h | 55 std::optional<TextOverflow> textOverflow; member 62 textOverflow == other.textOverflow && textIndent == other.textIndent; in Equal() 65 } else if (!leadingMargin.has_value() && !other.textOverflow.has_value()) { in Equal()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/button/ |
H A D | button_request_data.h | 38 std::optional<Ace::TextOverflow> textOverflow; member
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/exceptionprompt/interfaces/ |
H A D | exceptionprompt.js | 187 Text.textOverflow({ overflow: TextOverflow.Ellipsis }); 292 Text.textOverflow({ overflow: TextOverflow.Ellipsis });
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | text_composed_element.cpp | 83 auto textOverflow = in GetTextOverflow() local 85 return ConvertWrapTextOverflowToString(textOverflow); in GetTextOverflow()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-gauge.md | 293 .textOverflow({ overflow: TextOverflow.Ellipsis }) 355 .textOverflow({ overflow: TextOverflow.Ellipsis }) 406 .textOverflow({ overflow: TextOverflow.Ellipsis }) 453 .textOverflow({ overflow: TextOverflow.Ellipsis }) 509 .textOverflow({ overflow: TextOverflow.Ellipsis }) 549 .textOverflow({ overflow: TextOverflow.Ellipsis }) 596 .textOverflow({ overflow: TextOverflow.Ellipsis }) 723 .textOverflow({ overflow: TextOverflow.Ellipsis })
|
/ohos5.0/foundation/arkui/advanced_ui_component/source/ArkDialog/ |
H A D | ArkDialog.ets | 154 .textOverflow({ overflow: TextOverflow.Ellipsis}) 167 .textOverflow({ overflow: TextOverflow.Ellipsis}) 249 .textOverflow({ overflow: TextOverflow.Ellipsis}) 262 .textOverflow({ overflow: TextOverflow.Ellipsis})
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/exceptionprompt/source/ |
H A D | exceptionprompt.ets | 67 .textOverflow({ overflow: TextOverflow.Ellipsis }) 91 .textOverflow({ overflow: TextOverflow.Ellipsis })
|
/ohos5.0/docs/zh-cn/device-dev/subsystems/ |
H A D | subsys-arkui-customize-titlebar-arkts.md | 71 .textOverflow({ overflow: TextOverflow.Ellipsis }) 190 Text.textOverflow({ overflow: TextOverflow.Ellipsis });
|
/ohos5.0/foundation/ability/ability_runtime/services/dialog_ui/ams_system_dialog/entry/src/main/ets/pages/ |
H A D | switchUserDialog.ets | 33 .textOverflow({overflow: TextOverflow.Ellipsis})
|
/ohos5.0/foundation/arkui/advanced_ui_component/interface/subheader/ |
H A D | subheader.js | 595 Text.textOverflow({ overflow: TextOverflow.Ellipsis }); 658 Text.textOverflow({ overflow: TextOverflow.Ellipsis }); 693 Text.textOverflow({ overflow: TextOverflow.Ellipsis }); 759 Text.textOverflow({ overflow: TextOverflow.Ellipsis }); 790 Text.textOverflow({ overflow: TextOverflow.Ellipsis });
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | button_modifier.cpp | 267 if (!buttonParameters.textOverflow.has_value()) { in ButtonCompleteParameters() 268 buttonParameters.textOverflow = TextOverflow::CLIP; in ButtonCompleteParameters() 351 buttonParameters.textOverflow = TextOverflow::ELLIPSIS; in SetButtonValueParameters() 354 buttonParameters.textOverflow = TEXT_OVERFLOWS[result]; in SetButtonValueParameters()
|