X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/af50298c0edc3e108433acc9106d9a022447d44e..e3b7c12160e7684382ad88a82d6379fe5f8868f3:/data/skin_default.xml diff --git a/data/skin_default.xml b/data/skin_default.xml index 31f7fb90..2e45a893 100644 --- a/data/skin_default.xml +++ b/data/skin_default.xml @@ -1,66 +1,82 @@ - - - + + + + + + - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + Name + + + - + - - + + - - + + - + - - + + - + @@ -68,68 +84,91 @@ - - + + + + - - - - - + + + + - + - - + + - + - - + + + - + - + - + - + - + + + + + + + + + + - + + + + + - + + + + + + + + + - - - + + + - + @@ -173,14 +212,19 @@ - - - - + + + + + + + + + @@ -193,7 +237,7 @@ - + @@ -204,19 +248,48 @@ - + + + RadioText + - + + Name + - - - - - - - - + + WithSeconds + + + Progress + + + RasInteractiveAvailable + + + + StartTime + Default + + + Name + + + Remaining + InMinutes + + + Name + + + StartTime + Default + + + Duration + InMinutes + @@ -259,13 +332,63 @@ - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + @@ -277,6 +400,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + @@ -291,11 +439,12 @@ textsize = self["text"].getSize() # y size still must be fixed in font stuff... textsize = (textsize[0] + 50, textsize[1] + 50) count = len(self.list) -if count > 6: - count = 6 -offset = 30 * count +if count > 10: + count = 10 +offset = 25 * count wsizex = textsize[0] + 60 wsizey = textsize[1] + offset + if (450 > wsizex): wsizex = 450 wsize = (wsizex, wsizey) @@ -308,14 +457,14 @@ self.instance.resize(eSize(*wsize)) self["text"].instance.resize(eSize(*textsize)) # move list -listsize = (wsizex, 30 * len(self.list)) +listsize = (wsizex, 25 * count) self["list"].instance.move(ePoint(0, textsize[1])) self["list"].instance.resize(eSize(*listsize)) # center window newwidth = wsize[0] #self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y())) - + @@ -326,7 +475,7 @@ newwidth = wsize[0] - + @@ -338,8 +487,10 @@ newwidth = wsize[0] - + + Remaining + @@ -349,11 +500,11 @@ newwidth = wsize[0] - - - - - + + + + + # this should be factored out into some helper code, but currently demonstrates applets. @@ -391,4 +542,34 @@ newwidth = wsize[0] self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y())) - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +