def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.corner_radius = self.height/2
l = ui.Label()
self.add_subview(l)
l.frame = self.bounds
l.flex = 'WH'
l.name = 'Label'
l.alignment = ui.ALIGN_CENTER
评论列表
文章目录