X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/7466abeda3437afb71ce9ab8c0917cd8ea14482c..aa414b363fd57de608f745266f3145e53bd775e8:/data/skin_default.xml diff --git a/data/skin_default.xml b/data/skin_default.xml index 3c8fc492..e49d6a5c 100644 --- a/data/skin_default.xml +++ b/data/skin_default.xml @@ -4,7 +4,9 @@ - + + + @@ -14,53 +16,65 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + Name + + + - + - - + + - - + + - + - - + + - + @@ -68,59 +82,58 @@ - + - - - - - + + + + - + - + - + - - + + - + - + - + - + - + - + - + @@ -129,7 +142,7 @@ - + @@ -173,10 +186,9 @@ - - - - + + + @@ -193,7 +205,7 @@ - + @@ -207,16 +219,39 @@ - + + Name + - - - - - - - - + + WithSeconds + + + Progress + + + StartTime + Default + + + StartTime + Default + + + Name + + + Name + + + + Remaining + InMinutes + + + Duration + InMinutes + @@ -259,13 +294,18 @@ - - + + + + + + + - + @@ -291,13 +331,14 @@ 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 (400 > wsizex): - wsizex = 400 + +if (450 > wsizex): + wsizex = 450 wsize = (wsizex, wsizey) @@ -308,14 +349,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 +367,7 @@ newwidth = wsize[0] - + @@ -338,8 +379,10 @@ newwidth = wsize[0] - + + Remaining + @@ -349,11 +392,11 @@ newwidth = wsize[0] - - - - - + + + + + # this should be factored out into some helper code, but currently demonstrates applets. @@ -391,4 +434,17 @@ newwidth = wsize[0] self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y())) - \ No newline at end of file + + + + + + + + + + + + + +