vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
New commits: commit ebbe6b781151428272a0a3235f5eefc42c06a82e Author: Abdulaziz A Alayed <[email protected]> Date: Fri May 24 13:11:31 2013 +0300 fdo#63254 UI:Horizontal scroll bar isn't displayed when RTL tab opened with LTR UI. Reviewed-on: https://gerrit.libreoffice.org/4024 Reviewed-by: Stephan Bergmann <[email protected]> Tested-by: Stephan Bergmann <[email protected]> (cherry picked from commit 898a3e84807bccbb876e3f5583728f6d24e05e9a) Conflicts: vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx Change-Id: Iff6899539fe0b1788df7b09f91f850b91bcdb811 Reviewed-on: https://gerrit.libreoffice.org/4540 Reviewed-by: Björn Michaelsen <[email protected]> Tested-by: Lior Kaplan <[email protected]> Reviewed-by: Faisal al-otaibi <[email protected]> Tested-by: Faisal al-otaibi <[email protected]> Reviewed-by: Lior Kaplan <[email protected]> Reviewed-by: Fridrich Strba <[email protected]> Tested-by: Fridrich Strba <[email protected]> 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 9623555..c0d9740 --- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx @@ -1027,7 +1027,13 @@ sal_Bool GtkSalGraphics::getNativeControlRegion( ControlType nType, rNativeContentRegion.Right() = rNativeContentRegion.Left() + 1; if (!rNativeContentRegion.GetHeight()) rNativeContentRegion.Bottom() = rNativeContentRegion.Top() + 1; - returnVal = sal_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()) + returnVal = false; } if( (nType == CTRL_MENUBAR) && (nPart == PART_ENTIRE_CONTROL) ) {
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
