[Kst] extragear/graphics/kst/kst
Andrew Walker
arwalker at sumusltd.com
Wed Nov 16 22:52:40 CET 2005
SVN commit 480873 by arwalker:
Attempt to make status bar size more robust
M +4 -2 kst.cpp
--- trunk/extragear/graphics/kst/kst/kst.cpp #480872:480873
@@ -1691,8 +1691,10 @@
widthAvailable -= _progressBar->width();
widthAvailable -= spacing;
}
- widthAvailable -= _dataNotifier->geometry().width();
- widthAvailable -= spacing;
+ if (_dataNotifier->isShown()) {
+ widthAvailable -= _dataNotifier->geometry().width();
+ widthAvailable -= spacing;
+ }
widthUsed = widthData;
widthUsed += widthReady;
More information about the Kst
mailing list