解决duilib水平布局(HorizontalLayout)中控件位置计算错误的问题

水平布局中的控件无法布满整个布局,右側留有缝隙

修正后的样子


原因是布局中的代码计算Padding时候逻辑不对导致


修正后的代码到https://github.com/CodeBees/duilib-Ex-Debug检出


posted @ 2017-08-16 18:10  zhchoutai  阅读(491)  评论(0编辑  收藏  举报