[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/lib/kotext
From: David Faure <faure () kde ! org>
Date: 2006-03-03 13:27:30
Message-ID: 1141392450.288724.18978.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 515321 by dfaure:
Actually it doesn't matter how far the right-tab is, it always works.
M +4 -4 KoTextParag.cpp
--- trunk/koffice/lib/kotext/KoTextParag.cpp #515320:515321
@@ -2108,11 +2108,11 @@
//kdDebug(32500) << "KoTextParag::nextTab tArray[" << i << \
"]=" << tArray[i] << " type " << m_layout.tabList()[i].type << endl; int \
tab = tArray[ i ];
- // Fix for small rounding problems (especially when importing \
documents from OOo)
- // If a right-aligned tab is slightly after the right edge \
then assume + // If a right-aligned tab is after the right edge \
then assume
// that it -is- on the right edge, otherwise the last letters \
will fall off.
- if ( tab > availableWidth && tab - availableWidth < 100 /* 5pt \
*/ ) {
- kdDebug(32500) << "Tab position adjusted to \
availableWidth=" << availableWidth << endl; + // This is \
compatible with OOo's behavior. + if ( tab > availableWidth ) {
+ //kdDebug(32500) << "Tab position adjusted to \
availableWidth=" << availableWidth << endl; tab = availableWidth;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic