зеркало из https://github.com/mozilla/pjs.git
increase the size of the scroll bars
This commit is contained in:
Родитель
7700aa0884
Коммит
83c361fec5
|
@ -151,8 +151,8 @@ NS_IMETHODIMP nsDeviceContextXlib::GetScrollBarDimensions(float &aWidth, float &
|
||||||
{
|
{
|
||||||
PR_LOG(DeviceContextXlibLM, PR_LOG_DEBUG, ("nsDeviceContextXlib::GetScrollBarDimensions()\n"));
|
PR_LOG(DeviceContextXlibLM, PR_LOG_DEBUG, ("nsDeviceContextXlib::GetScrollBarDimensions()\n"));
|
||||||
// XXX Oh, yeah. These are hard coded.
|
// XXX Oh, yeah. These are hard coded.
|
||||||
aWidth = 5 * mPixelsToTwips;
|
aWidth = 15 * mPixelsToTwips;
|
||||||
aHeight = 5 * mPixelsToTwips;
|
aHeight = 15 * mPixelsToTwips;
|
||||||
|
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
@ -206,10 +206,10 @@ NS_IMETHODIMP nsDeviceContextXlib::GetSystemAttribute(nsSystemAttrID anID, Syste
|
||||||
// Size
|
// Size
|
||||||
//---------
|
//---------
|
||||||
case eSystemAttr_Size_ScrollbarHeight:
|
case eSystemAttr_Size_ScrollbarHeight:
|
||||||
aInfo->mSize = 20;
|
aInfo->mSize = 15;
|
||||||
break;
|
break;
|
||||||
case eSystemAttr_Size_ScrollbarWidth:
|
case eSystemAttr_Size_ScrollbarWidth:
|
||||||
aInfo->mSize = 20;
|
aInfo->mSize = 15;
|
||||||
break;
|
break;
|
||||||
case eSystemAttr_Size_WindowTitleHeight:
|
case eSystemAttr_Size_WindowTitleHeight:
|
||||||
aInfo->mSize = 0;
|
aInfo->mSize = 0;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче