screens.py 文件源码

python
阅读 30 收藏 0 点赞 0 评论 0

项目:Mobile-TetriNET 作者: Smug28 项目源码 文件源码
def __init__(self, **kwargs):   # inicializace
        super(StatsScreen, self).__init__(**kwargs)
        self.root.insertStrings.append((self, "STR_STATS"))
        self.stats = BoxLayout(orientation='vertical', size_hint=(.77, .83), pos_hint={'center_x': .5, 'center_y': .49})
        self.title = BoxLayout(orientation='horizontal')
        self.title.add_widget(Label(font_name='font/Roboto-Bold.ttf', text=''))
        self.title.add_widget(Label(font_name='font/Roboto-Bold.ttf', text=''))
        self.title.add_widget(Label(font_name='font/Roboto-Bold.ttf', text=''))
        self.stats.add_widget(self.title)
        self.add_widget(self.stats)
        self.root.insertStrings.append((self.title.children[2], "STR_TYPE"))
        self.root.insertStrings.append((self.title.children[1], "STR_NAME"))
        self.root.insertStrings.append((self.title.children[0], "STR_SCORE"))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号