- Moderator
- #161
disaster could you include this:
https://forum.team-mediaportal.com/plugins-47/mastermind-v2-21834/#post142120
GUISelectButtonControl.cs
Add this code at the end of the function SetPosition:
// Position right arrow
int x1 = 8;
int x2 = 16;
GUIGraphicsContext.ScaleHorizontal(ref x1);
GUIGraphicsContext.ScaleHorizontal(ref x2);
int dwX = (dwPosX + _width - x1) - x2;
int y1 = 16;
GUIGraphicsContext.ScaleVertical(ref y1);
int dwY = dwPosY + (_height - y1) / 2;
_imageRight.SetPosition(dwX, dwY);
_imageRightFocus.SetPosition(dwX, dwY);
// Position left arrow
dwX = dwPosX + x1;
_imageLeft.SetPosition(dwX, dwY);
_imageLeftFocus.SetPosition(dwX, dwY);
fixed selectbutton arrows to be misplaced..
i'm wondering why developers didnt include this fix in svn already.. this fix is very old...
https://forum.team-mediaportal.com/plugins-47/mastermind-v2-21834/#post142120
GUISelectButtonControl.cs
Add this code at the end of the function SetPosition:
// Position right arrow
int x1 = 8;
int x2 = 16;
GUIGraphicsContext.ScaleHorizontal(ref x1);
GUIGraphicsContext.ScaleHorizontal(ref x2);
int dwX = (dwPosX + _width - x1) - x2;
int y1 = 16;
GUIGraphicsContext.ScaleVertical(ref y1);
int dwY = dwPosY + (_height - y1) / 2;
_imageRight.SetPosition(dwX, dwY);
_imageRightFocus.SetPosition(dwX, dwY);
// Position left arrow
dwX = dwPosX + x1;
_imageLeft.SetPosition(dwX, dwY);
_imageLeftFocus.SetPosition(dwX, dwY);
fixed selectbutton arrows to be misplaced..
i'm wondering why developers didnt include this fix in svn already.. this fix is very old...
Croatia