[Kst] branches/work/kst/portto4/kst/src/libkstapp

Peter Kümmel syntheticpp at gmx.net
Sun Feb 13 20:07:54 CET 2011


SVN commit 1220369 by kuemmel:

show scrollbar not dots for the remaining content

 M  +1 -0      datamanager.cpp  
 M  +1 -0      viewprimitivedialog.cpp  


--- branches/work/kst/portto4/kst/src/libkstapp/datamanager.cpp #1220368:1220369
@@ -76,6 +76,7 @@
 void DataManager::showEvent(QShowEvent*)
 {
   _session->header()->setResizeMode(QHeaderView::ResizeToContents);
+  _session->header()->setStretchLastSection(false);
   QApplication::processEvents();
   _session->header()->setResizeMode(QHeaderView::Interactive);
 }
--- branches/work/kst/portto4/kst/src/libkstapp/viewprimitivedialog.cpp #1220368:1220369
@@ -50,6 +50,7 @@
   _tree->setModel(_model);
 
   _tree->header()->setResizeMode(QHeaderView::ResizeToContents);
+  _tree->header()->setStretchLastSection(false);
   QApplication::processEvents();
   _tree->header()->setResizeMode(QHeaderView::Interactive);
 }


More information about the Kst mailing list