def set_font_color(self, color, state=None, center_title=True): """set font color for a given state""" Element.set_font_color(self, color, state, center_title) self.set_hovered_states(self._states_hover)
def set_font_color(self, color, state=None, center_title=True): """set font color for a given state""" Element.set_font_color(self, color, state, center_title) self.build_elements()