aboutsummaryrefslogtreecommitdiff
path: root/src/Toolbar.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Toolbar.cc')
-rw-r--r--src/Toolbar.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index 6c4837a..3e825b8 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -640,7 +640,7 @@ void Toolbar::setPlacement(Toolbar::Placement where) {
640 frame.width = (head_w - 2*border_width) * (*m_rc_width_percent) / 100; 640 frame.width = (head_w - 2*border_width) * (*m_rc_width_percent) / 100;
641 //!! TODO: change this 641 //!! TODO: change this
642 // max height of each toolbar items font... 642 // max height of each toolbar items font...
643 unsigned int max_height = m_tool_factory.maxFontHeight(); 643 unsigned int max_height = m_tool_factory.maxFontHeight() + 2;
644 644
645 if (theme().height() > 0) 645 if (theme().height() > 0)
646 max_height = theme().height(); 646 max_height = theme().height();
@@ -650,7 +650,6 @@ void Toolbar::setPlacement(Toolbar::Placement where) {
650 650
651 frame.height = max_height; 651 frame.height = max_height;
652 652
653 frame.height += 2;
654 frame.height += (frame.bevel_w * 2); 653 frame.height += (frame.bevel_w * 2);
655 654
656 // should we flipp sizes? 655 // should we flipp sizes?