diff options
| author | Daniel Würl <trinity@dwrl.de> | 2025-03-10 13:44:48 +0100 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-17 12:13:39 +0900 |
| commit | d8a1aed5208ba75b1b77b76f29820bc1910adf89 (patch) | |
| tree | 196a1f172b24a492d509f75b8e24f96d21e243de | |
| parent | 6516f6e4bb6fb935358014b2a65687e789834656 (diff) | |
| download | twin-style-dekorator-d8a1aed5.tar.gz twin-style-dekorator-d8a1aed5.zip | |
Corrected drawing error on unequal bottom frame sizes.
Signed-off-by: Daniel Würl <trinity@dwrl.de>
(cherry picked from commit aabd4dd49d2e0691fff186486a9f0c2644978674)
| -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 { |
