Revert previous patch as the error appears to be in TQFontMetrics, not this file

pull/16/head
Timothy Pearson 12 years ago
parent 89798786db
commit 857fae6c4f

@ -634,7 +634,7 @@ void TDEIconViewItem::calcRect( const TQString& text_ )
} }
if ( ( itemIconRect.height() <= 20 ) && ( itemTextRect.height() < itemIconRect.height() ) ) { if ( ( itemIconRect.height() <= 20 ) && ( itemTextRect.height() < itemIconRect.height() ) ) {
d->realTextHeight = itemTextRect.height(); d->realTextHeight = itemTextRect.height();
itemTextRect.setHeight( itemIconRect.height() - 4 ); itemTextRect.setHeight( itemIconRect.height() - 2 );
itemTextRect.setY( itemIconRect.y() ); itemTextRect.setY( itemIconRect.y() );
} }
} }

Loading…
Cancel
Save