mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
b=842468 include border in scrollbar track min size r=roc
--HG-- extra : rebase_source : dd5ac0d701b9587a18e4cb104b517fe78e4207af
This commit is contained in:
parent
78fb2090c8
commit
f27da241e1
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user