From d2fcf1ec2e1363d568f1f2023e21013b968f4354 Mon Sep 17 00:00:00 2001 From: Abdulaziz A Alayed Date: Fri, 24 May 2013 13:11:31 +0300 Subject: fdo#63254 UI:Horizontal scroll bar isn't displayed when RTL tab opened with LTR UI. Change-Id: Iff6899539fe0b1788df7b09f91f850b91bcdb811 Reviewed-on: https://gerrit.libreoffice.org/4024 Reviewed-by: Stephan Bergmann Tested-by: Stephan Bergmann Signed-off-by: Petr Mladek --- vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) mode change 100644 => 100755 vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx (limited to 'vcl/unx/gtk') diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx old mode 100644 new mode 100755 index e15fbfaefcdf..145585031d74 --- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx @@ -1041,8 +1041,9 @@ sal_Bool GtkSalGraphics::getNativeControlRegion( ControlType nType, rNativeContentRegion.Right() = rNativeContentRegion.Left() + 1; if (!rNativeContentRegion.GetHeight()) rNativeContentRegion.Bottom() = rNativeContentRegion.Top() + 1; - - returnVal = true; + //fdo#63254 horizontal scrool bar isn't displayed in RTL tab + // with LTR UI in calc + returnVal =Application::GetSettings().GetLayoutRTL(); //See fdo#44582, Horizontal scrollbar in navigator window is broken if ((nPart==PART_BUTTON_LEFT || nPart==PART_BUTTON_RIGHT) && Application::GetSettings().GetLayoutRTL()) -- cgit v1.2.3