From 5b26f3bb1f59c45d4488d5a7902a4002a7576ebd Mon Sep 17 00:00:00 2001 From: "joshmoz%gmail.com" Date: Tue, 21 Nov 2006 17:41:10 +0000 Subject: [PATCH] handle horizontal scrollbar height metric in mac look and feel. b=360860 r=hwaara sr=pinkerton --- widget/src/mac/nsLookAndFeel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/widget/src/mac/nsLookAndFeel.cpp b/widget/src/mac/nsLookAndFeel.cpp index 5c799343233a..f95a6dfe9d13 100644 --- a/widget/src/mac/nsLookAndFeel.cpp +++ b/widget/src/mac/nsLookAndFeel.cpp @@ -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.