From 9f898048996dbcbfe5d1adec68aee3eb855b8eb8 Mon Sep 17 00:00:00 2001 From: Ivan Ilin Date: Wed, 25 Jan 2012 19:50:37 +0200 Subject: [PATCH] Sankore-456 --- src/gui/UBDockPalette.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/UBDockPalette.cpp b/src/gui/UBDockPalette.cpp index ef6b0344..61b2b3e4 100644 --- a/src/gui/UBDockPalette.cpp +++ b/src/gui/UBDockPalette.cpp @@ -696,7 +696,7 @@ void UBDockPalette::moveTabs() break; case eUBDockOrientation_Right: if (parentWidget()) { - origin.setX(parentWidget()->width() - width() - mTabPalette->width()); + origin.setX(parentWidget()->width() - width() - border() * 2); } break; case eUBDockOrientation_Top: ;