Kaydet (Commit) 898a3e84 authored tarafından Abdulaziz A Alayed's avatar Abdulaziz A Alayed Kaydeden (comit) Stephan Bergmann

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/4024Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
Tested-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst d8a593a3
...@@ -1048,8 +1048,9 @@ sal_Bool GtkSalGraphics::getNativeControlRegion( ControlType nType, ...@@ -1048,8 +1048,9 @@ sal_Bool GtkSalGraphics::getNativeControlRegion( ControlType nType,
rNativeContentRegion.Right() = rNativeContentRegion.Left() + 1; rNativeContentRegion.Right() = rNativeContentRegion.Left() + 1;
if (!rNativeContentRegion.GetHeight()) if (!rNativeContentRegion.GetHeight())
rNativeContentRegion.Bottom() = rNativeContentRegion.Top() + 1; rNativeContentRegion.Bottom() = rNativeContentRegion.Top() + 1;
//fdo#63254 horizontal scrool bar isn't displayed in RTL tab
returnVal = true; // with LTR UI in calc
returnVal =Application::GetSettings().GetLayoutRTL();
//See fdo#44582, Horizontal scrollbar in navigator window is broken //See fdo#44582, Horizontal scrollbar in navigator window is broken
if ((nPart==PART_BUTTON_LEFT || nPart==PART_BUTTON_RIGHT) && Application::GetSettings().GetLayoutRTL()) if ((nPart==PART_BUTTON_LEFT || nPart==PART_BUTTON_RIGHT) && Application::GetSettings().GetLayoutRTL())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment