diff options
| -rw-r--r-- | client/deKoratorclient.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/client/deKoratorclient.cpp b/client/deKoratorclient.cpp index b33c66a..f5779a4 100644 --- a/client/deKoratorclient.cpp +++ b/client/deKoratorclient.cpp @@ -2218,8 +2218,16 @@ void DeKoratorClient::borders( int & l, int & r, int & t, int & b ) const //b = SHOWBTMBORDER ? BOTTOMFRAMESIZE : isShade() ? 1 : BOTTOMFRAMESIZE; if ( !isShade() || SHOWBTMBORDER ) { - b = BOTTOMFRAMESIZE; - bottomSpacer_->changeSize( 1, BOTTOMFRAMESIZE, TQSizePolicy::Expanding, TQSizePolicy::Fixed ); + if ( isShade() && HASBOTTOMSHADEDFRAME ) + { + b = BOTTOMSHADEDFRAMESIZE; + bottomSpacer_->changeSize( 1, BOTTOMSHADEDFRAMESIZE, TQSizePolicy::Expanding, TQSizePolicy::Fixed ); + } + else + { + b = BOTTOMFRAMESIZE; + bottomSpacer_->changeSize( 1, BOTTOMFRAMESIZE, TQSizePolicy::Expanding, TQSizePolicy::Fixed ); + } } else { |
