gtk3: filch a fix for scrollbars w/o buttons from gtk2 code
that is b38ee8c8d5
Change-Id: Ib86d86616443cf48ba1d3ee0b6f96314b42dc972
This commit is contained in:
parent
81fd6b084b
commit
2cfe27125a
1 changed files with 4 additions and 0 deletions
|
@ -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) ||
|
||||
|
|
Loading…
Reference in a new issue