0004193: Support for labels not having set a width but require and alignment (1 Viewer)

MediaPortal-Bot

Worlds greatest bot!
March 26, 2007
3,715
180
Home Country
Germany Germany
When a label does not have a width set in its XML but still requires alignment, the result of calculating an alignment (skin engine will do it against the parentcontrol) will be a negative horizontal offset.<br /> <br /> There should never be a negative horizontal offset as this would means out of bounds rendering. But current skins don't define always a boundary box.<br /> <br /> To keep backwards compatibility with current skins negative offsets are allowed if the label in question doesn't have a width defined.

Continue reading...
 

Users who are viewing this thread

Top Bottom