From 647ea9797e8a3c6f78703ecb80ca027c0d33a7b0 Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Thu, 16 Apr 2009 18:33:27 +0100 Subject: [PATCH] Bugfix: Fix window size being too thin --- src/gui/widgets/panel-bar.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/widgets/panel-bar.cpp b/src/gui/widgets/panel-bar.cpp index 1cfd09aed..251c9a7cf 100644 --- a/src/gui/widgets/panel-bar.cpp +++ b/src/gui/widgets/panel-bar.cpp @@ -229,13 +229,14 @@ PanelBar::on_size_allocate(Gtk::Allocation& allocation) if(get_direction() != TEXT_DIR_RTL) { window->move_resize(allocation.get_x(), allocation.get_y(), - total_width, allocation.get_height()); + total_width + border_width * 2, allocation.get_height()); } else { window->move_resize( allocation.get_x() + allocation.get_width() - total_width, - allocation.get_y(), total_width, allocation.get_height()); + allocation.get_y(), + total_width + border_width * 2, allocation.get_height()); } } }