X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=data%2Fskin.xml;h=3c9f55dba2d38509af00d720a47fcc94b28cfc15;hp=70b08b336e5df996c2ef1726c966aface4ac212a;hb=c1311444ea249a45d0eceefa15d77fce410a54da;hpb=f414a53c337844af29471698a3a3f0708eda4837 diff --git a/data/skin.xml b/data/skin.xml index 70b08b3..3c9f55d 100644 --- a/data/skin.xml +++ b/data/skin.xml @@ -9,6 +9,7 @@ + @@ -19,6 +20,9 @@ + + + @@ -29,44 +33,53 @@ - """ """ + - + - - + + - + - + + + + + + + - - - - - + + + + + - + - + - - + + - + + + + - + @@ -75,15 +88,15 @@ - - + + - + - + @@ -93,6 +106,8 @@ + + @@ -135,39 +150,102 @@ - - - + + + + + + + + + + + + + + + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + - - + + + + + - + - + - - - + + + + + + + + + + + + + - + + + + + + @@ -175,9 +253,9 @@ - - - + + + @@ -191,10 +269,16 @@ + + + + - + + + -# this should be factored out into some helper code, but currently demonstrated applets. +# this should be factored out into some helper code, but currently demonstrates applets. from enigma import eSize, ePoint orgwidth = self.instance.size().width() @@ -202,8 +286,13 @@ orgpos = self.instance.position() textsize = self["text"].getSize() # y size still must be fixed in font stuff... -textsize = (textsize[0], textsize[1] + 20) -wsize = (textsize[0] + 50, textsize[1] + 50) +textsize = (textsize[0] + 50, textsize[1] + 50) +wsizex = textsize[0] + 50 +wsizey = textsize[1] + 50 +if (280 > wsizex): + wsizex = 280 +wsize = (wsizex, wsizey) + # resize self.instance.resize(eSize(*wsize))