Merge "Fix DynamicLayout init to use transformed text length." into sc-dev