Public bug reported:

Consider the following QML scene:

    import QtQuick 2.0
    
    Rectangle {
        width: 200
        height: 200
        color: "white"
    
        Text {
            anchors.fill: parent
            anchors.margins: 10
            horizontalAlignment: Text.AlignJustify
            text: "aaaaaa aaaaaa aaa aaa" +
                  "aaa aaa aaa aaa aaa " +
                  "aaa aaa aaa aaa aaa"
            wrapMode: Text.WordWrap
        }
    }

Attempting to run the file in qmlscene results in the attached
screenshot. Clearly the text is not justified (as one would expect) and
is instead left-aligned.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: qmlscene 5.2.1-3ubuntu10
ProcVersionSignature: Ubuntu 3.13.0-17.37-generic 3.13.6
Uname: Linux 3.13.0-17-generic x86_64
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Mar 19 19:04:52 2014
InstallationDate: Installed on 2014-03-16 (3 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140314)
ProcEnviron:
 LANGUAGE=en_CA:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: qtdeclarative-opensource-src
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: qtdeclarative-opensource-src (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

** Attachment added: "Screenshot of scene in qmlscene"
   
https://bugs.launchpad.net/bugs/1294940/+attachment/4033215/+files/Screenshot%20from%202014-03-19%2019%3A35%3A31.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1294940

Title:
  Text.AlignJustify does not properly justify text

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1294940/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to