X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=data%2Fskin.xml;h=b2ba569a2b302b0ceeb3c3be771e78743989508c;hp=6a642cfd8e6f2a172b0816097a0dbeb1aa469925;hb=e330dbae62e83dd2aa2ff63a984519a84b23c3ad;hpb=26d7f9d3a137f4833eebed5ea5077ee551886e80 diff --git a/data/skin.xml b/data/skin.xml index 6a642cf..b2ba569 100644 --- a/data/skin.xml +++ b/data/skin.xml @@ -11,14 +11,17 @@ - + - + - + + + + @@ -30,31 +33,79 @@ """ """ - + + + - - + + + + + - - - - - + + - + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -62,8 +113,8 @@ - - + + @@ -79,9 +130,12 @@ - - - + + + + + + @@ -89,28 +143,71 @@ - - + + + - + + - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + @@ -124,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() @@ -135,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] + 20, textsize[1] + 20) +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))