[Korganizer-devel] [Bug 113749] Vertical scrollbar when showing journals

Lubos Lunak l.lunak at kde.org
Wed Jan 17 18:57:57 CET 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=113749         
l.lunak kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From l.lunak kde org  2007-01-17 18:57 -------
SVN commit 624681 by lunakl:

Finish what r307993 was trying to do - when there are too many
entries in the journal, make a scrollbar appear.
BUG: 113749



 M  +2 -2      kojournalview.cpp  


--- branches/KDE/3.5/kdepim/korganizer/kojournalview.cpp #624680:624681
 @ -49,11 +49,11  @
   QVBoxLayout*topLayout = new QVBoxLayout( this );
   topLayout->setAutoAdd(true);
   mSV = new QScrollView( this, "JournalScrollView" );
-  topLayout = new QVBoxLayout( mSV->viewport() );
-  topLayout->setAutoAdd(true);
   mVBox = new QVBox( mSV->viewport() );
   mSV->setVScrollBarMode( QScrollView::Auto );
   mSV->setHScrollBarMode( QScrollView::AlwaysOff );
+  mSV->setResizePolicy( QScrollView::AutoOneFit );
+  mSV->addChild( mVBox );
 //  mVBox->setSpacing( 10 );
 }


More information about the Korganizer-devel mailing list