| 2926 | } |
| 2927 | |
| 2928 | LabelWrapByCharTest::LabelWrapByCharTest() |
| 2929 | { |
| 2930 | _label->setLineBreakWithoutSpace(true); |
| 2931 | _label->setString("五六七八This \nis a very long sentence一二三四."); |
| 2932 | _label->setLineSpacing(5); |
| 2933 | _label->setAdditionalKerning(2); |
| 2934 | _label->setVerticalAlignment(TextVAlignment::TOP); |
| 2935 | _label->setOverflow(Label::Overflow::CLAMP); |
| 2936 | } |
| 2937 | |
| 2938 | std::string LabelWrapByCharTest::title() const |
| 2939 | { |
nothing calls this directly
no test coverage detected