[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/kdmthemes
From: Unai Garro <ugarro () telefonica ! net>
Date: 2004-03-27 16:46:23
Message-ID: 20040327164623.808FC997F () office ! kde ! org
[Download RAW message or body]
CVS commit by uga:
fix some typos
M +5 -2 kdmbox.cpp 1.20
--- kdenonbeta/kdmthemes/kdmbox.cpp #1.19:1.20
@@ -127,6 +127,9 @@ KdmBox::resize(void)
}
// Remove the extra spacing added on the last widget
+ if (!widgetList->isEmpty())
+ {
if (m_orientation== Vertical) newBoxSize.setHeight(newBoxSize.height()-m_spacing);
- else newBoxSize.setHeight(newBoxSize.height()-m_spacing);
+ else newBoxSize.setWidth(newBoxSize.width()-m_spacing);
+ }
kdDebug()<<"\tNew box size will be: ["<<newBoxSize.width()<<","<<newBoxSize.height()<<"]"<<endl;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic