[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepim/mobile/lib
From:       Tobias Koenig <tokoe () kde ! org>
Date:       2010-12-08 14:10:07
Message-ID: 20101208141007.71F7CAC8A5 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1204644 by tokoe:

Fix text layout (word wrap)


 M  +19 -0     AboutDialog.qml  


--- trunk/KDE/kdepim/mobile/lib/AboutDialog.qml #1204643:1204644
@@ -41,23 +41,30 @@
     KPIM.DecoratedFlickable{
         width: parent.width - closeButton.width
         height: parent.height
+        contentWidth: width - 10
         contentHeight: 1700;
 
         content.children: [
           QML.Rectangle{
           id: aboutText
+              anchors.fill: parent
               QML.Column{
+                  anchors.fill: parent
                   QML.Text{
                       id: caption
                       font.pointSize: 18
                       style: QML.Text.Raised
                       text: KDE.i18n( "About %1", application.name )
+                      wrapMode: QML.Text.WordWrap
+                      width: parent.width
                   }
 
                   QML.Text{
                       id:version
                       horizontalAlignment: QML.Text.AlignHCenter
                       text: "\n" + application.version + "\n"
+                      wrapMode: QML.Text.WordWrap
+                      width: parent.width
                   }
 
                   QML.Text {
@@ -65,16 +72,22 @@
                              "\n" +
                              KDE.i18n("%1 is licensed under the GNU GPL version 2 or \
                later.", application.name ) + "\n" +
                              KDE.i18n("See %1 for details.", "licenses.pdf") + "\n"
+                      wrapMode: QML.Text.WordWrap
+                      width: parent.width
                   }
 
                   QML.Text{
                       text: KDE.i18n("Credits Project Komo3 (October 2009 - )") + \
"\n" +                      wrapMode: QML.Text.WordWrap
+                      width: parent.width
                   }
 
                   QML.Text{
                       text: KDE.i18n("Scrum Master, Team Senior: Till Adam, KDAB") + \
                "\n" +
                             KDE.i18n("Product Owner, Team Senior: Bernhard Reiter, \
Intevation GmbH") + "\n"  style: QML.Text.Raised
+                      wrapMode: QML.Text.WordWrap
+                      width: parent.width
                   }
 
                   QML.Text{
@@ -106,17 +119,23 @@
                             "\t" + KDE.i18n("Tobias Koenig (KDAB)") + "\n" +
                             "\t" + KDE.i18n("Volker Krause (KDAB)") + "\n" +
                             "\t" + KDE.i18n("Werner Koch (g10 Code)") + "\n"
+                      wrapMode: QML.Text.WordWrap
+                      width: parent.width
                   }
 
                   QML.Text{
                       style: QML.Text.Raised
                       text: KDE.i18n("Special thanks to the two project persons from \
our principal.") + "\n" +                      wrapMode: QML.Text.WordWrap
+                      width: parent.width
                   }
 
                   QML.Text{
                       text: KDE.i18n("This project is built upon KDE SC Kontact \
                Desktop\n" +
                                      "client. For the outstanding work done there \
                we\n" +
                                      "would like to thank the original authors.\n")
+                      wrapMode: QML.Text.WordWrap
+                      width: parent.width
                   }
                }
             }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic