JavaNoober / BackgroundLibrary

A framework for directly generating shape through Tags, no need to write shape.xml again(通过标签直接生成shape,无需再写shape.xml)
Apache License 2.0
3.86k stars 469 forks source link

fix:[修复bug:设置上下左右边框时,会有多余的空格] #134

Closed taichushouwang closed 3 years ago

taichushouwang commented 3 years ago

描述:{ 分析:在setLayerInset时,如果是需要显示的边框,也设置了指定的宽度,导致那个方位多了一个width的空白 方案:在setLayerInset时,如果是需要显示的边框,应该设置为0 }

JavaNoober commented 3 years ago

谢谢,已经采纳