Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-6717

Mailing Labels - make multiline fields left-aligned

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.2.2
    • Fix Version/s: 3.2.3
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Today, by calling TCPDF's MultiCell() function in civicrm\CRM\Utils\PDF\Label.pdf around line 225 with miminum arguments, TCPDF's default behavior if it encounters data that needs to be spread to multiple lines is to justify the first line (i.e. spread out the words on it). This doesn't look good.

      Please add two more arguments to make the first line left-aligned:

      $this->MultiCell($this->width, $this->lineHeight, $var, '', 'L');

      (the argument before the 'L' for left-alignment is is an empty argument for border)

      http://forum.civicrm.org/index.php/topic,15242.0.html

        Attachments

          Activity

            People

            • Assignee:
              priya Priya Prajapati
              Reporter:
              obiuquido144 Boris Kvid
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 15 minutes
                15m
                Remaining:
                Remaining Estimate - 15 minutes
                15m
                Logged:
                Time Spent - Not Specified
                Not Specified