X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=data%2Fskin.xml;h=b2ba569a2b302b0ceeb3c3be771e78743989508c;hp=6716acf327fa9ff7aac650336e75380ab0b55898;hb=e330dbae62e83dd2aa2ff63a984519a84b23c3ad;hpb=ac69935a53481230525c4e408e38271d25833ff7 diff --git a/data/skin.xml b/data/skin.xml index 6716acf..b2ba569 100644 --- a/data/skin.xml +++ b/data/skin.xml @@ -19,6 +19,9 @@ + + + @@ -30,35 +33,46 @@ """ """ - + + + - + + + + + + + + + + - - - - - + + + + + - + - + - - + + - + - + @@ -67,15 +81,15 @@ - - + + - + - + @@ -83,9 +97,10 @@ - - - + + + + @@ -115,9 +130,12 @@ - - - + + + + + + @@ -125,18 +143,31 @@ - - + + + + + - - - + + + + + + + + + + + + @@ -146,27 +177,37 @@ - - - + + + + + + + + + - + + + + + + - + - - - - + + + @@ -180,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() @@ -191,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))