- Moderator
- #1
1.2.0 RC and later SVN versions doesn't scale the skin control "Checkmark" (GUICheckMarkControl) Checkmark - MediaPortal Wiki to screen resolution.
This means that any checkmark control is the same size, whether you run MediaPortal in a window or fullscreen.
The missing scaling has probably been there since the control was introduced. It does probably also affect the control "Checkbutton" (GUICheckButton) since this is created by extending a GUICheckMarkControl control.
Most controls utilizes the GUIGraphicsContext.ScaleHorizontal and GUIGraphicsContext.ScaleVertival to scale content to resolution.
To reproduce:
In references.xml look for the "default checkmark" control.
Change/set width and height:
<MarkWidth>16</MarkWidth>
<MarkHeight>16</MarkHeight>
Load MediaPortal with any screen that has a checkmark. Switch between fullscreen and windowed mode. Observe how other controls are scaled, but checkmark is not. The text next to the checkmark is not scaled either.
Please take a look at the attached screenshot, where you can see the issue.
This means that any checkmark control is the same size, whether you run MediaPortal in a window or fullscreen.
The missing scaling has probably been there since the control was introduced. It does probably also affect the control "Checkbutton" (GUICheckButton) since this is created by extending a GUICheckMarkControl control.
Most controls utilizes the GUIGraphicsContext.ScaleHorizontal and GUIGraphicsContext.ScaleVertival to scale content to resolution.
To reproduce:
In references.xml look for the "default checkmark" control.
Change/set width and height:
<MarkWidth>16</MarkWidth>
<MarkHeight>16</MarkHeight>
Load MediaPortal with any screen that has a checkmark. Switch between fullscreen and windowed mode. Observe how other controls are scaled, but checkmark is not. The text next to the checkmark is not scaled either.
Please take a look at the attached screenshot, where you can see the issue.