Home
last modified time | relevance | path

Searched refs:textOverflow (Results 1 – 25 of 161) sorted by relevance

1234567

/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-common-components-text-display.md134 - 通过[textOverflow](../reference/apis-arkui/arkui-ts/ts-basic-components-text.md#textoverflow)属性控制文本…
137textOverflow 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 Darkts-common-components-text-display.md134 - Use the [textOverflow](../reference/apis-arkui/arkui-ts/ts-basic-components-text.md#textoverflow)…
137textOverflow 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 DUse-the-Badge-component-to-display-the-number-of-unread-messages-in-a-chat.md54 .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 Dtext_tdd_exception_test.cpp52 const char* textOverflow = "textOverflow"; in ComponentTextStyleSetExceptionTest007() local
54 UpdateCharAttributeOrStyleValue(textComponent, textOverflow, expectOverflowException, false); in ComponentTextStyleSetExceptionTest007()
H A Dtext_tdd_test.cpp151 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 Dts-basic-components-gauge.md293 .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 Dts-basic-components-text.md59 ### textOverflow subsection
61 textOverflow(value: { overflow: TextOverflow })
1176 该示例通过maxLines、textOverflow、ellipsisMode属性展示了文本超长省略以及调整省略位置的效果。
1203textOverflow 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 Dparagraph.h136 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 Dtext_paint_method.cpp62 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 Dtabs_sub_tab_bar_style_test_ng.cpp642 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 DentryComponent.ets51 .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 DentryComponent.ets50 .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 DSubHeader.ets139 .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 DTitileComponent.ets67 .textOverflow({ overflow: TextOverflow.Ellipsis })
79 .textOverflow({ overflow: TextOverflow.Ellipsis })
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/
H A Dspan_object.h55 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 Dbutton_request_data.h38 std::optional<Ace::TextOverflow> textOverflow; member
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/exceptionprompt/interfaces/
H A Dexceptionprompt.js187 Text.textOverflow({ overflow: TextOverflow.Ellipsis });
292 Text.textOverflow({ overflow: TextOverflow.Ellipsis });
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dtext_composed_element.cpp83 auto textOverflow = in GetTextOverflow() local
85 return ConvertWrapTextOverflowToString(textOverflow); in GetTextOverflow()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-basic-components-gauge.md293 .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 DArkDialog.ets154 .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 Dexceptionprompt.ets67 .textOverflow({ overflow: TextOverflow.Ellipsis })
91 .textOverflow({ overflow: TextOverflow.Ellipsis })
/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-arkui-customize-titlebar-arkts.md71 .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 DswitchUserDialog.ets33 .textOverflow({overflow: TextOverflow.Ellipsis})
/ohos5.0/foundation/arkui/advanced_ui_component/interface/subheader/
H A Dsubheader.js595 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 Dbutton_modifier.cpp267 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()

1234567