Uploaded image for project: 'MediaPortal 1'
  1. MediaPortal 1
  2. MP1-2394

Support for labels not having set a width but require and alignment

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 1.3.0 RC
    • 1.3.0 Beta
    • Skin Engine
    • None
    • Operating System: Windows 7
      Platform: Intel

    Description

      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.

      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.

      To keep backwards compatibility with current skins negative offsets are allowed if the label in question doesn't have a width defined.

      Attachments

        Activity

          People

            Scythe42 Scythe42 (Inactive)
            Scythe42 Scythe42 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: