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

List:       kde-commits
Subject:    kdelibs/kmdi/kmdi
From:       Dominik Haumann <dhdev () gmx ! de>
Date:       2004-08-28 10:27:29
Message-ID: 20040828102729.E71952A06 () office ! kde ! org
[Download RAW message or body]

CVS commit by dhaumann: 

fix 2px resize bug (do not waste 2px space)


  M +2 -2      dockcontainer.cpp   1.7


--- kdelibs/kmdi/kmdi/dockcontainer.cpp  #1.6:1.7
@@ -420,7 +420,7 @@ void DockContainer::tabClicked(int t)
   kdDebug(760)<<"Fixed Width:"<<m_tb->width()<<endl;
   if (m_vertical)
-  parentDockWidget()->setForcedFixedWidth(m_tb->width()+2); // strange why it worked before at all
+  parentDockWidget()->setForcedFixedWidth(m_tb->width()); // strange why it worked before at all
   else
-  parentDockWidget()->setForcedFixedHeight(m_tb->height()+2); // strange why it worked before at all
+  parentDockWidget()->setForcedFixedHeight(m_tb->height()); // strange why it worked before at all
    }
   m_tabSwitching=false;


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

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