vcl/unx/kde4/KDESalGraphics.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 273df1762707d1d44c9f9b3911e06f7a5a4fa08f Author: Jan-Marek Glogowski <glo...@fbihome.de> Date: Wed Aug 26 15:29:15 2015 +0000 tdf#80512 KDE4: fix RTL scrollbar handling Just invert the scrollbar the same way gtk+ does by checking the button positions and adjust the drawing style accordingly. Change-Id: I3475c33e074c1509a73da618a4efa44dc61a1a77 diff --git a/vcl/unx/kde4/KDESalGraphics.cxx b/vcl/unx/kde4/KDESalGraphics.cxx index eeb741f..87fe4cb 100644 --- a/vcl/unx/kde4/KDESalGraphics.cxx +++ b/vcl/unx/kde4/KDESalGraphics.cxx @@ -472,6 +472,8 @@ bool KDESalGraphics::drawNativeControl( ControlType type, ControlPart part, option.sliderValue = sbVal->mnCur; option.sliderPosition = sbVal->mnCur; option.pageStep = sbVal->mnVisibleSize; + if (part == PART_DRAW_BACKGROUND_HORZ) + option.upsideDown = sbVal->maButton1Rect.Left() > sbVal->maButton2Rect.Left(); //setup the active control...always the slider if (sbVal->mnThumbState & ControlState::ROLLOVER) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits