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

List:       kde-commits
Subject:    KDE/kdeedu/kstars/kstars/widgets
From:       Alexey Khudyakov <alexey.skladnoy () gmail ! com>
Date:       2009-08-04 9:49:58
Message-ID: 1249379398.530028.31675.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1006752 by khudyakov:

Enlarge FOV in fovwidget. 


 M  +2 -2      fovwidget.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/widgets/fovwidget.cpp #1006751:1006752
@@ -38,8 +38,8 @@
     p.setRenderHint( QPainter::Antialiasing, true );
     p.fillRect( contentsRect(), QColor( "black" ) );
 
-    if( m_FOV && (m_FOV->sizeX() > 0 || m_FOV->sizeY() > 0) ) {
-        m_FOV->draw(p, 0.3*contentsRect().width(), 0.3*contentsRect().height() );
+    if( m_FOV && m_FOV->sizeX() > 0 && m_FOV->sizeY() > 0 ) {
+        m_FOV->draw(p, 0.6*contentsRect().width(), 0.6*contentsRect().height() );
         QFont smallFont = p.font();
         smallFont.setPointSize( p.font().pointSize() - 2 );
         p.setFont( smallFont );
[prev in list] [next in list] [prev in thread] [next in thread] 

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