increase the size of the scroll bars

This commit is contained in:
blizzard%redhat.com 1999-06-25 20:10:51 +00:00
Родитель 7700aa0884
Коммит 83c361fec5
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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;