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

List:       kde-commits
Subject:    extragear/multimedia/amarok/src/context/popupdropper/libpud
From:       Jeff Mitchell <kde-dev () emailgoeshere ! com>
Date:       2009-02-12 17:02:04
Message-ID: 1234458124.975902.5468.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 925177 by mitchell:

Minor change -- always resize SVG, not just if it's too big


 M  +2 -2      PopupDropper.cpp  


--- trunk/extragear/multimedia/amarok/src/context/popupdropper/libpud/PopupDropper.cpp #925176:925177
@@ -198,8 +198,8 @@
             pItem->setPopupDropper( q ); //safety
             //qDebug() << "item " << i << " is a PDI ";
             //If the svgElementRect is too high, resize it to fit
-            if( my_max - my_min > pItem->svgElementRect().height() )
-                pItem->svgElementRect().setHeight( my_max - my_min - ( 2 * verticalmargin ) );
+//            if( my_max - my_min > pItem->svgElementRect().height() )
+            pItem->svgElementRect().setHeight( my_max - my_min - ( 2 * verticalmargin ) );
             item_min = vert_center - ( pItem->svgElementRect().height() / 2 );
             //qDebug() << "vert_center = " << vert_center << ", ited->min = " << item_min;
             pItem->setPos( 0, item_min );
[prev in list] [next in list] [prev in thread] [next in thread] 

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