Kodi Community Forum

Full Version: What's the point of the <system> control?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Quote:system
Specifies the coordinate system. If set to 1, all control coordinates are relative to the <posx> and <posy> coordinates in this block.

but they're already set that the coordinates anyway?

Quote:coordinates
This block is used to specify how XBMC should compute the coordinates of all controls.
It's used for dialogs where we call CenterWindow to do the centering (eg context menu in some cases).

Basically it's useless - any dialog should allow CenterWindow to do it's thing.

I'll add it to the TODO to remove it.
Thanks for clearing that up Jonathan.
Cleared it up in the sources + wiki now as well. Cheers!