Skip to content

Commit

Permalink
SImple_Ten_Eighty - fix epoint across Python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Whalley authored and Huevos committed Oct 13, 2020
1 parent 649bdc1 commit 737ecd5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/skins/1080/Simple_Ten_Eighty/skin.xml
Expand Up @@ -1809,20 +1809,20 @@ if (420 > wsizex):
wsizex = 420
wsize = (wsizex, wsizey + titleheight)
self.instance.resize(eSize(*wsize))
self["text"].instance.move(ePoint(97, 12 + titleheight))
self["text"].instance.move(ePoint(97, int(12 + titleheight)))
self["text"].instance.resize(eSize(*textsize))
self["ErrorPixmap"].instance.move(ePoint(7, 7 + titleheight))
self["ErrorPixmap"].instance.move(ePoint(7, int(7 + titleheight)))
self["ErrorPixmap"].instance.resize(eSize(80,80))
self["QuestionPixmap"].instance.move(ePoint(7, 7 + titleheight))
self["QuestionPixmap"].instance.move(ePoint(7, int(7 + titleheight)))
self["QuestionPixmap"].instance.resize(eSize(80,80))
self["InfoPixmap"].instance.move(ePoint(7, 7 + titleheight))
self["InfoPixmap"].instance.move(ePoint(7, int(7 + titleheight)))
self["InfoPixmap"].instance.resize(eSize(80,80))
if self.type == self.TYPE_YESNO:
listsize = (wsizex-6, lenlist)
self["list"].instance.move(ePoint(3, wsizey - lenlist + titleheight - 3))
self["list"].instance.move(ePoint(3, int(wsizey - lenlist + titleheight - 3)))
self["list"].instance.resize(eSize(*listsize))
newwidth = wsize[0]
self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y() + (orgheight - wsizey)/2))
self.instance.move(ePoint(int(orgpos.x() + (orgwidth - newwidth) // 2), int(orgpos.y() + (orgheight - wsizey) // 2)))
</applet>
</screen>

Expand Down

0 comments on commit 737ecd5

Please sign in to comment.