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

List:       kde-commits
Subject:    koffice/kspread
From:       Ariya Hidayat <ariya () kde ! org>
Date:       2003-12-31 14:38:07
Message-ID: 20031231143807.4B34593DE () office ! kde ! org
[Download RAW message or body]

CVS commit by ariya: 

clicking on the partially visible tab will reveal it


  M +4 -0      kspread_tabbar.cc   1.94


--- koffice/kspread/kspread_tabbar.cc  #1.93:1.94
@@ -613,4 +613,8 @@ void TabBar::mousePressEvent( QMouseEven
 
         emit tabChanged( d->tabs[ d->activeTab-1] );
+
+        // scroll if partially visible
+        if( d->tabRects[ tab-1 ].right() > width() - d->offset )
+            scrollRight();
     }
 


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

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