add lcd
[enigma2.git] / lib / python / Components / Label.py
index 609c6de..7402d72 100644 (file)
@@ -15,6 +15,10 @@ class Label(HTMLComponent, GUIComponent, VariableText):
                return self.getText()
 
 # GUI:
-       def createWidget(self, parent, skindata):
+       def createWidget(self, parent):
                return eLabel(parent)
        
+       def getSize(self):
+               s = self.instance.calculateSize()
+               return (s.width(), s.height())
+