X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=data%2Fskin.xml;h=b2ba569a2b302b0ceeb3c3be771e78743989508c;hp=667bdb6c7979ed68f2289024c1b9dfa6ec66a42e;hb=e330dbae62e83dd2aa2ff63a984519a84b23c3ad;hpb=379bcd06e27c6da4d2ad4fc24a943a3675fcf014 diff --git a/data/skin.xml b/data/skin.xml index 667bdb6..b2ba569 100644 --- a/data/skin.xml +++ b/data/skin.xml @@ -11,14 +11,17 @@ - + - + - + + + + @@ -30,37 +33,79 @@ """ """ - + + + - - + + + + + + + + + + + - - - - - + + + + + - + - + - - + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -68,8 +113,8 @@ - - + + @@ -85,9 +130,12 @@ - - - + + + + + + @@ -95,28 +143,71 @@ - - + + + - + + - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + @@ -130,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() @@ -141,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))