mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backout Bug 513006 since it may have caused Bug 656218
--HG-- extra : rebase_source : 6d2e2822dbf35198247fbb35e185ce33ecf29afb
This commit is contained in:
parent
ae533a3fb4
commit
4c1a67926b
@ -1037,23 +1037,6 @@ nsNativeThemeGTK::GetMinimumWidgetSize(nsRenderingContext* aContext,
|
|||||||
*aIsOverridable = PR_FALSE;
|
*aIsOverridable = PR_FALSE;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case NS_THEME_SCROLLBAR_TRACK_HORIZONTAL:
|
|
||||||
case NS_THEME_SCROLLBAR_TRACK_VERTICAL:
|
|
||||||
{
|
|
||||||
MozGtkScrollbarMetrics metrics;
|
|
||||||
moz_gtk_get_scrollbar_metrics(&metrics);
|
|
||||||
|
|
||||||
if (aWidgetType == NS_THEME_SCROLLBAR_TRACK_VERTICAL) {
|
|
||||||
aResult->width = metrics.slider_width;
|
|
||||||
aResult->height = metrics.min_slider_size;
|
|
||||||
} else {
|
|
||||||
aResult->height = metrics.slider_width;
|
|
||||||
aResult->width = metrics.min_slider_size;
|
|
||||||
}
|
|
||||||
|
|
||||||
*aIsOverridable = PR_FALSE;
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case NS_THEME_SCROLLBAR_THUMB_VERTICAL:
|
case NS_THEME_SCROLLBAR_THUMB_VERTICAL:
|
||||||
case NS_THEME_SCROLLBAR_THUMB_HORIZONTAL:
|
case NS_THEME_SCROLLBAR_THUMB_HORIZONTAL:
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user