Thanks, i tested it and i saw the icons are not properly align so :
def LoadInfo(self, notification):
self.UI["title"].SetText(notification.GetTitle())
item.SelectItem(notification.value)
width, height = item.GetItemSize()
iconY = 18 - (height - 1) * 15
self.UI["icon"] = ui.MakeImageBox(self.UI["bg"], notification.GetIcon(), 0, iconY)
self.UI["icon"].SetWindowHorizontalAlignCenter()
lines = SplitDescription(notification.GetDescription(), 35)
stepY = 102 if len(lines) > 1 else 110
self.UI["description"] = []
for count, line in enumerate(lines):
description = ui.MakeText(self.UI["bg"], line, 0, stepY, None)
description.SetWindowHorizontalAlignCenter()
description.SetHorizontalAlignCenter()
self.UI["description"].append(description)
stepY += 15