Hi,
I've taken a look at your panels. I see you have set the area to 1600x900 with the item coordinates within that range. However, the way panels currently work is by always using a 1024x768 (let's call it resolution-independent) area, which is then scaled up to the actual resolution. The area can be limited to some area within (0,0) and (1024,768).
I realize this may not be intuitive. So I'm thinking about another way of using the area. This is my idea: Detect that the area is larger than 1024x768, and use this as the resolution-independent area. Then scale to the actual resolution in the same way as before. I will use your panels test this.
In 4.11 you will have 3 scaling modes:
-
Move to edges. Scale x and y while maintaining the aspect ratio, keeping items near the edges and remaining space in the center. This is the default.
-
Stretch. Scale x and y independently to cover the whole screen.
-
Center. Scale x and y while maintaining the aspect ratio, centering the panel within the remaining space.
The Stretch mode is what was done before GPxPatch 4.10. The Center mode is what GPxSAT is doing now for e.g. Classic mode.
I've been thinking about more modes (move to left/top and move to right/bottom), but I think these are enough for now. I can always add them later when needed.
Next to this I saw that text items needed an alignment option. Right now they were either left aligned (with positive X coordinate) or right aligned (with negative X coordinate), but this is very clumsy of course, because it should be independent of the X coordinate. So for 4.11 I've added a text alignment option. The possible values are Default (like before, for backward compatibility), Left, Center, and Right.
René Smit, Independent Software Developer.
Download my GPx tools
here.