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

List:       kde-commits
Subject:    branches/kdepim/enterprise4/kdepim/kleopatra/crypto/gui
From:       Christoph Schleifenbaum <christoph () kdab ! net>
Date:       2010-11-02 13:51:15
Message-ID: 20101102135115.133C2AC8A0 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1192288 by cschleifenbaum:

new dialog size


 M  +3 -3      verifychecksumsdialog.cpp  


--- branches/kdepim/enterprise4/kdepim/kleopatra/crypto/gui/verifychecksumsdialog.cpp \
#1192287:1192288 @@ -179,13 +179,13 @@
             
             // define some minimum sizes
             view.header()->resizeSection( 0, qMax( view.header()->sectionSize( 0 ), \
                220 ) );
-            view.header()->resizeSection( 1, qMax( view.header()->sectionSize( 1 ), \
                60 ) );
-            view.header()->resizeSection( 2, qMax( view.header()->sectionSize( 2 ), \
60 ) ); +            view.header()->resizeSection( 1, qMax( \
view.header()->sectionSize( 1 ), 75 ) ); +            view.header()->resizeSection( \
                2, qMax( view.header()->sectionSize( 2 ), 75 ) );
             view.header()->resizeSection( 3, qMax( view.header()->sectionSize( 3 ), \
140 ) );  
             for( int i = 0; i < proxy.rowCount(); ++i )
                 r = r.united( view.visualRect( proxy.index( proxy.columnCount() - 1, \
                i ) ) );
-            view.setMinimumSize( QSize( qBound( r.width() + 4 * view.frameWidth(), 4 \
* 100 + 4 * view.frameWidth(), 1024 ), // 100 is the default defaultSectionSize +     \
view.setMinimumSize( QSize( qBound( r.width() + 4 * view.frameWidth(), 220+75+75+140 \
                + 4 * view.frameWidth(), 1024 ), // 100 is the default \
                defaultSectionSize
                                         qBound( r.height(), 220, 512 ) ) );
         }
 


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

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