SturgeonDu

Results 2 issues of SturgeonDu

设计好UI结构如下图: # ![1](https://user-images.githubusercontent.com/19681139/38792499-d48a1ee6-417f-11e8-90e8-1987d574f181.png) 设置Text的Alignment为居中对齐。 如果不修改表情图片Asset的大小,使用作者的默认值24,是能够保证居中对齐的,但是我的表情原图是64*64,我想尽量保证显示原图大小的表情这时候就出现问题了: 如果只是输入文字或者只是输入表情图片,是正确居中对齐的。但是同时输入表情和文字后发现文字并没有居中对齐。 ![3](https://user-images.githubusercontent.com/19681139/38792787-4c09572e-4181-11e8-93e2-75885a5f6adf.png) ![4](https://user-images.githubusercontent.com/19681139/38792790-4e87f082-4181-11e8-8ef0-2b652f6aec72.png) ![2](https://user-images.githubusercontent.com/19681139/38792792-504f2ebc-4181-11e8-8489-e017cf9b652c.png) **Canvas的RenderMode为ScreeSpace-Camera,但是我发现这个问题好像跟Canvas的模式没多大关系!**

比如LoopVerticalScrollRect共有10个元素且每行显示4个,整个界面能显示2行多一点点。这时候更新totalCount为5完了再重新设置totalCount为10并调用RefreshCells,这时候只能刷新两行元素并不会将剩余的元素创建出来。 LoopVerticalScrollRect UpdateItems里: `if (viewBounds.min.y < contentBounds.min.y + m_ContentBottomPadding) { float size = NewItemAtEnd(), totalSize = size; while (size > 0 && viewBounds.min.y < contentBounds.min.y + m_ContentBottomPadding - totalSize) {...