diff options
Diffstat (limited to 'src/WinButtonTheme.cc')
-rw-r--r-- | src/WinButtonTheme.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/WinButtonTheme.cc b/src/WinButtonTheme.cc index 22e86fc..ac6d5f7 100644 --- a/src/WinButtonTheme.cc +++ b/src/WinButtonTheme.cc | |||
@@ -67,7 +67,8 @@ WinButtonTheme::~WinButtonTheme() { | |||
67 | void WinButtonTheme::reconfigTheme() { | 67 | void WinButtonTheme::reconfigTheme() { |
68 | // rescale the pixmaps to match frame theme height | 68 | // rescale the pixmaps to match frame theme height |
69 | 69 | ||
70 | unsigned int size = m_frame_theme.titleHeight(); | 70 | unsigned int size = m_frame_theme.titleHeight() |
71 | - 2 * m_frame_theme.bevelWidth(); | ||
71 | if (m_frame_theme.titleHeight() == 0) { | 72 | if (m_frame_theme.titleHeight() == 0) { |
72 | // calculate height from font and border width to scale pixmaps | 73 | // calculate height from font and border width to scale pixmaps |
73 | size = m_frame_theme.font().height() + 2; | 74 | size = m_frame_theme.font().height() + 2; |