def __init__(self, panel, height, tab):
self.panel = panel
self.height = height
self.tab = tab
super(MDBottomNavigationHeader, self).__init__()
self._current_color = self.theme_cls.disabled_hint_text_color
self._label = self.ids._label
self._label_font_size = sp(12)
self.theme_cls.bind(primary_color=self._update_theme_color,
disabled_hint_text_color=self._update_theme_style)
self.active = False
评论列表
文章目录