Kaydet (Commit) 2cfe2712 authored tarafından Ivan Timofeev's avatar Ivan Timofeev

gtk3: filch a fix for scrollbars w/o buttons from gtk2 code

that is b38ee8c8

Change-Id: Ib86d86616443cf48ba1d3ee0b6f96314b42dc972
üst 81fd6b08
......@@ -1049,6 +1049,10 @@ sal_Bool GtkSalGraphics::getNativeControlRegion( ControlType nType, ControlPart
(nPart==PART_BUTTON_UP) || (nPart==PART_BUTTON_DOWN) ) )
{
aEditRect = NWGetScrollButtonRect( nPart, rControlRegion );
if (!aEditRect.GetWidth())
aEditRect.Right() = aEditRect.Left() + 1;
if (!aEditRect.GetHeight())
aEditRect.Bottom() = aEditRect.Top() + 1;
}
else if ( (nType==CTRL_SPINBOX) &&
((nPart==PART_BUTTON_UP) || (nPart==PART_BUTTON_DOWN) ||
......
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