Esempio n. 1
0
 def ApplyAttributes(self, attributes):
     LabelCore.ApplyAttributes(self, attributes)
     subcaption = attributes.get('subcaption', self.default_subcaption)
     self.subcapt = EveLabelSmall(text='',
                                  parent=self.parent,
                                  align=uiconst.TOPLEFT,
                                  left=self.left + 1,
                                  top=self.top + self.textheight - 2,
                                  state=uiconst.UI_HIDDEN,
                                  name='subcaption')
     if subcaption:
         self.SetSubcaption(subcaption)
Esempio n. 2
0
 def ApplyAttributes(self, attributes):
     LabelCore.ApplyAttributes(self, attributes)
     if 'autoFadeSides' in attributes:
         self.autoFadeSides = attributes.autoFadeSides