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

List:       kde-commits
Subject:    kdewebdev/quanta/src
From:       Andras Mantia <amantia () kde ! org>
Date:       2005-02-02 19:34:27
Message-ID: 20050202193427.25B551CFAF () office ! kde ! org
[Download RAW message or body]

CVS commit by amantia: 

Resize the document editor correctly after starting up with an empty document.


  M +1 -1      quantaview.cpp   1.172


--- kdewebdev/quanta/src/quantaview.cpp  #1.171:1.172
@@ -782,5 +782,5 @@ void QuantaView::refreshWindow()
   } else
   {
-      if (m_documentArea->height() + ToolbarTabWidget::ref()->height() > height() && \
!ToolbarTabWidget::ref()->isHidden()) //don't use isVisible instead of isHidden! +    \
if (m_documentArea->height() + ToolbarTabWidget::ref()->height() > height() && \
!ToolbarTabWidget::ref()->isHidden() && !ToolbarTabWidget::ref()->isVisible()) \
                //don't use isVisible alone instead of isHidden!
         resize(m_documentArea->width(), m_documentArea->height() - \
ToolbarTabWidget::ref()->height());  else if (ToolbarTabWidget::ref()->isHidden())


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

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