X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=data%2Fskin.xml;h=4c1a25c0b71721f6bb2e3d761fa857f9cbd4cfc6;hp=a31819803fe7f5540cc3bf63fd7ec7d5cb0adca4;hb=549ed3c87c4d3fe093472aa199ca6742c1f3654f;hpb=6ec24cc36db8acbf9142abfdd84d3421ccaed9b9 diff --git a/data/skin.xml b/data/skin.xml index a318198..4c1a25c 100644 --- a/data/skin.xml +++ b/data/skin.xml @@ -9,16 +9,20 @@ + - + - + - + + + + @@ -29,73 +33,96 @@ - """ """ - - - - + + + + + + + - + + + + + + + + + + + + + - - - - - + + + + + + + + + + + - - - - - + + - - + + - - + + - + + + + - - - - + + + + - - + + - + - - - + + + - - - + + + + + - - - + + + + - - - + + + - - - - - - + + + + + + @@ -109,9 +136,12 @@ - - - + + + + + + @@ -119,52 +149,132 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - + + + + + + + + + - + + + -# 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() @@ -172,8 +282,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] + 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))