fix select widget rendering when using thebes/cairo. b=360214 r=mento sr=pav
git-svn-id: svn://10.0.0.236/trunk@215120 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -552,6 +552,13 @@ NS_IMETHODIMP nsLookAndFeel::GetMetric(const nsMetricID aID, PRInt32 & aMetric)
|
||||
case eMetric_DragThresholdY:
|
||||
aMetric = 4;
|
||||
break;
|
||||
case eMetric_ScrollbarWidth:
|
||||
// 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.
|
||||
// ::GetThemeMetric(kThemeMetricScrollBarWidth, (SInt32*)&aMetric);
|
||||
aMetric = 16;
|
||||
break;
|
||||
case eMetric_ScrollArrowStyle:
|
||||
ThemeScrollBarArrowStyle arrowStyle;
|
||||
::GetThemeScrollBarArrowStyle ( &arrowStyle );
|
||||
|
||||
Reference in New Issue
Block a user