XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • P2: Important
    • None
    • Graphs: 3D
    • None

    Description

      Labels have some remaining issues:

      • labelWidth is not updated when font changes (or any property, like size, in font), and labels are not updated accordingly (just calling updateLabels() in if (themeDirtyBits.fontDirty) {...} does not work, as it results in a loop that keeps on updating the labels over and over again for some reason. It takes care of the width, though
      • labelWidth is not taken into account when determining the position of the labels. This results in labels overlapping the graph, if labels are wide enough, and being too far from the graph if the font is small and label narrow
      • fonts without a border seem to result in a way too small font in labels. Font size seems to be handled in the same way in both cases, so not sure what's causing it
      • label rotations are wrong in some cases. Compare qmlscatter between old and new, as an example-
      • updateLabels() should be handled in QQuickDataVisItem instead of all graphs individually

      Attachments

        1. ng.png
          ng.png
          10 kB
        2. old.png
          old.png
          14 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kwpark Kwanghyo Park
            tokorpip Tomi Korpipää
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes