[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 93739] RTL text is not alligned to the right
From: Frank Osterfeld <f_osterf () informatik ! uni-kl ! de>
Date: 2004-11-22 21:12:41
Message-ID: 20041122211241.5215.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=93739
f_osterf informatik uni-kl de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From f_osterf informatik uni-kl de 2004-11-22 22:12 -------
CVS commit by osterfeld:
fix alignment for RTL text
BUG: 93739
M +6 -2 articleviewer.cpp 1.69
M +0 -1 articleviewer.h 1.27
--- kdenonbeta/akregator/src/articleviewer.cpp #1.68:1.69
@ -215,11 +215,15 @ QString ArticleViewer::formatArticle(Fee
}
- text += "<div id=\"body\">";
+
if (!article.description().isEmpty())
{
+ text += QString("<div id=\"body\" dir=\"%1\">").arg(directionOf(article.description()) );
text += "<span id=\"content\">"+article.description()+"</span>";
+ text += "</div>";
}
+ text += "<div id=\"body\">";
+
if (article.commentsLink().isValid())
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic