axmol/tests/cpp-tests/Classes/UITest/CocoStudioGUITest
rh101 fd7f7ba085 Fix for Label and UIRichEdit text trailing space trimming (#18876)
* [UIRichText.cpp] Allow user to select if they want to trim trailing spaces for a RichElementText. Also fixed crash if estimatedIdx is less than 0 in certain conditions.
[UIRichText.h] New flag added for enabling trailing space trimming.
[CCLabelTextFormatter.cpp] Only trim trailing whitespace if lines are being split. This will trim all whitespace up to the next non-whitespace token in a line.

* Fix for oversized sprites that need to be offset by X and Y to be aligned correctly in the UIRichText

* Revert "Fix for oversized sprites that need to be offset by X and Y to be aligned correctly in the UIRichText"

This reverts commit fc5492e878a982ff748488bf1de4ffa88a3d4755.

* [UIRichText] Reverted changes made for trimming since they are no longer required. The changes made to CCLabelTextFormatter.cpp fixed all the current issues.

* Added test cases from #18869

* Removed the forced trailing space clipping since it is not required here, and causing side-effects.

* Removed comment that no longer applies to that section of code
2018-06-08 17:06:29 +08:00
..
UIButtonTest update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
UICheckBoxTest update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
UIFocusTest update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
UIImageViewTest update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
UILayoutTest update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
UIListViewTest update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
UILoadingBarTest update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
UIPageViewTest update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
UIRadioButtonTest update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
UIRichTextTest Fix for Label and UIRichEdit text trailing space trimming (#18876) 2018-06-08 17:06:29 +08:00
UIScrollViewTest update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
UISliderTest update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
UITabControlTest update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
UITextAtlasTest update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
UITextBMFontTest update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
UITextFieldTest update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
UITextTest update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
UIVideoPlayerTest update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
UIWebViewTest update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
UIWidgetAddNodeTest update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
CocosGUIScene.cpp update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
CocosGUIScene.h update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
UIEditBoxTest.cpp correct iOS project config when using CMake `-GXcode` generate (3.17 round 2 test) (#18808) 2018-05-11 15:09:09 +08:00
UIEditBoxTest.h update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
UIScale9SpriteTest.cpp update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
UIScale9SpriteTest.h update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
UIScene.cpp update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
UIScene.h update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
UISceneManager.cpp update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00
UISceneManager.h update Copyright. might need manual fix later (#18659) 2018-01-29 16:25:32 +08:00