skillPlanTitle.py (995B)
1 #Embedded file name: C:\BuildAgent\work\20d73f1b24eed06e\eve\release\V24.01\eve\client\script\ui\skillPlan\contents\skillPlanTitle.py 2 from carbonui import uiconst 3 from carbonui.primitives.container import Container 4 from carbonui.primitives.containerAutoSize import ContainerAutoSize 5 from eve.client.script.ui.control.eveLabel import EveCaptionLarge 6 from eve.client.script.ui.control.glowSprite import GlowSprite 7 8 class SkillPlanTitle(ContainerAutoSize): 9 10 def ApplyAttributes(self, attributes): 11 super(SkillPlanTitle, self).ApplyAttributes(attributes) 12 spriteCont = Container(parent=self, name='spriteCont', align=uiconst.TORIGHT, width=16) 13 self.showInfo = GlowSprite(parent=spriteCont, name='showInfo', align=uiconst.BOTTOMLEFT, height=16, width=16, texturePath='res:/ui/Texture/Icons/show_info20.png', hint=attributes.get('infoHint', '')) 14 EveCaptionLarge(parent=self, name='skillPlanTitle', align=uiconst.TORIGHT, text=attributes.get('title', ''), padRight=2)