Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-21371

Graphlib legend alignment issue

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9.7
    • 1.9.8
    • Libraries
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

    Description

      When computing the graph layout, graphlib was breaking if different pieces of legend text had different heights.

      It was spacing out the legend text according to the maximum height, but summing the individual heights when working out the overall size of the box. Therefore, sometimes the box drawn round the legend was too small.

      Attachments

        Activity

          People

            timhunt Tim Hunt
            timhunt Tim Hunt
            Nobody Nobody
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              25/Mar/10