Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/4024

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/24/4024/1

fdo#63254 UI:Horizontal scroll bar isn't displayed when RTL tab

opened with LTR UI.

Change-Id: Iff6899539fe0b1788df7b09f91f850b91bcdb811
---
M vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
1 file changed, 3 insertions(+), 2 deletions(-)



diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx 
b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
index 29f7542..e3b1275 100644
--- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
@@ -1048,8 +1048,9 @@
             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() ? false : true;
 
         //See fdo#44582, Horizontal scrollbar in navigator window is broken
         if ((nPart==PART_BUTTON_LEFT || nPart==PART_BUTTON_RIGHT) && 
Application::GetSettings().GetLayoutRTL())

-- 
To view, visit https://gerrit.libreoffice.org/4024
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iff6899539fe0b1788df7b09f91f850b91bcdb811
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Abdulaziz A Alayed <aala...@kacst.edu.sa>

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to