handle horizontal scrollbar height metric in mac look and feel. b=360860 r=hwaara sr=pinkerton

This commit is contained in:
joshmoz%gmail.com 2006-11-21 17:41:10 +00:00
Родитель 2f6a513ef9
Коммит 5b26f3bb1f
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -552,7 +552,8 @@ NS_IMETHODIMP nsLookAndFeel::GetMetric(const nsMetricID aID, PRInt32 & aMetric)
case eMetric_DragThresholdY:
aMetric = 4;
break;
case eMetric_ScrollbarWidth:
case eMetric_ScrollbarHeight: // height of horizontal scrollbar
case eMetric_ScrollbarWidth: // width of vertical scrollbar
// It would be nice to use the native metric function, but we have always
// used 16 before and it returns 15. We should make the change, but with a
// complete audit to make sure things match up.