b=842468 include border in scrollbar track min size r=roc

--HG--
extra : rebase_source : dd5ac0d701b9587a18e4cb104b517fe78e4207af
This commit is contained in:
Karl Tomlinson 2013-02-20 11:03:53 +13:00
parent 78fb2090c8
commit f27da241e1

View File

@ -1052,9 +1052,9 @@ nsNativeThemeGTK::GetMinimumWidgetSize(nsRenderingContext* aContext,
moz_gtk_get_scrollbar_metrics(&metrics);
if (aWidgetType == NS_THEME_SCROLLBAR_TRACK_VERTICAL)
aResult->width = metrics.slider_width;
aResult->width = metrics.slider_width + 2 * metrics.trough_border;
else
aResult->height = metrics.slider_width;
aResult->height = metrics.slider_width + 2 * metrics.trough_border;
*aIsOverridable = false;
}