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

List:       kde-commits
Subject:    kdewebdev/quanta/src
From:       Hasso Tepper <hasso () kde ! org>
Date:       2005-04-27 14:30:51
Message-ID: 20050427143051.77BFE630 () office ! kde ! org
[Download RAW message or body]

CVS commit by hasso: 

Set maximum height for progressbar on statusbar. I'm almost sure that this fix
was in earlier releases, but somehow was lost again. And IDS_INS_OVR must not
have fixed width, it's translated.


  M +2 -1      quanta_init.cpp   1.597


--- kdewebdev/quanta/src/quanta_init.cpp  #1.596:1.597
@@ -328,8 +328,9 @@ void QuantaInit::initStatusBar()
   progressBar = new KProgress(m_quanta->statusBar());
   progressBar->setTextEnabled(false);
+  progressBar->setMaximumHeight(progressBar->fontMetrics().height());
   progressBar->show();
   m_quanta->statusBar()->insertItem(i18n(IDS_DEFAULT),IDS_STATUS, 1);
   m_quanta->statusBar()->addWidget(progressBar);
-  m_quanta->statusBar()->insertFixedItem(" XXX ",     IDS_INS_OVR  );
+  m_quanta->statusBar()->insertItem("",               IDS_INS_OVR  );
   m_quanta->statusBar()->insertFixedItem(" * ",       IDS_MODIFIED );
   m_quanta->statusBar()->insertFixedItem(i18n("Line: 00000 Col: 000"), IDS_STATUS_CLM, true);


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

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