X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/359b7184acb84b5409e10a97d11762bcbc63f7ed..25b529dd304871c705456047049dd29935f1ffe3:/data/skin_default.xml diff --git a/data/skin_default.xml b/data/skin_default.xml index 5ab25f3f..72f34675 100644 --- a/data/skin_default.xml +++ b/data/skin_default.xml @@ -14,53 +14,57 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - + + - - + + - + - - + + - + @@ -68,59 +72,58 @@ - + - - - - - + + + + - + - + - + - + - + - + - + - + - + - + - + @@ -129,7 +132,7 @@ - + @@ -173,17 +176,16 @@ - - - - + + + - + @@ -193,7 +195,7 @@ - + @@ -259,13 +261,18 @@ - - + + + + + + + - + @@ -291,13 +298,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,7 +316,7 @@ 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)) @@ -341,11 +349,19 @@ newwidth = wsize[0] - - - - - + + + + + + + + + + + + + # this should be factored out into some helper code, but currently demonstrates applets. @@ -383,4 +399,4 @@ newwidth = wsize[0] self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y())) - \ No newline at end of file +