X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=data%2Fskin.xml;h=b2ba569a2b302b0ceeb3c3be771e78743989508c;hp=52c9bb5276cad03a98170992e627643990cd7eea;hb=e330dbae62e83dd2aa2ff63a984519a84b23c3ad;hpb=28be604507bb36464bbd005cd38ea59ab36fa39d diff --git a/data/skin.xml b/data/skin.xml index 52c9bb5..b2ba569 100644 --- a/data/skin.xml +++ b/data/skin.xml @@ -19,6 +19,9 @@ + + + @@ -32,38 +35,44 @@ """ """ - + - + - + + + + + + + - - - - - + + + + + - + - + - - + + - + - + @@ -72,15 +81,15 @@ - - + + - + - + @@ -90,6 +99,8 @@ + + @@ -132,8 +143,9 @@ - - + + + @@ -142,10 +154,20 @@ - - - + + + + + + + + + + + + @@ -155,16 +177,27 @@ - - - + + + + + + + + + - + + + + + + @@ -188,10 +221,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() @@ -199,8 +238,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], 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))