| 2990 | } |
| 2991 | |
| 2992 | LabelShrinkByCharTest::LabelShrinkByCharTest() |
| 2993 | { |
| 2994 | _label->setLineSpacing(5); |
| 2995 | _label->setAdditionalKerning(2); |
| 2996 | _label->setLineBreakWithoutSpace(true); |
| 2997 | _label->setString("This is Hello World hehe I love 一二三"); |
| 2998 | _label->setVerticalAlignment(TextVAlignment::CENTER); |
| 2999 | _label->setOverflow(Label::Overflow::SHRINK); |
| 3000 | } |
| 3001 | |
| 3002 | std::string LabelShrinkByCharTest::title() const |
| 3003 | { |
nothing calls this directly
no test coverage detected