From: Dom Lachowicz Date: Sat, 22 Oct 2005 15:53:00 +0000 (+0000) Subject: Experimentally, scrollbar steppers can shrink to 8 pixels on Win32. X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=f9365c3747eccb27fd17407a855c9f4b4432b67a;p=~andy%2Fgtk Experimentally, scrollbar steppers can shrink to 8 pixels on Win32. * modules/engines/ms-windows/msw_style.c (setup_msw_rc_style): Experimentally, scrollbar steppers can shrink to 8 pixels on Win32. Reflect that in the theme. * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Experimentally, there is a 1-pixel border between a scrollbar and its child in ScrolledWindows on Win32. Reflect that in the theme. --- diff --git a/ChangeLog b/ChangeLog index d12b8aa87..db5d00b53 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2005-10-22 Dom Lachowicz + + * modules/engines/ms-windows/msw_style.c (setup_msw_rc_style): + Experimentally, scrollbar steppers can shrink to 8 pixels on + Win32. Reflect that in the theme. + * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Experimentally, + there is a 1-pixel border between a scrollbar and its child + in ScrolledWindows on Win32. Reflect that in the theme. + 2005-10-20 Matthias Clasen * gtk/gtklabel.c (gtk_label_create_window): Use GDK_WINDOW_CHILD diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index d12b8aa87..db5d00b53 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,12 @@ +2005-10-22 Dom Lachowicz + + * modules/engines/ms-windows/msw_style.c (setup_msw_rc_style): + Experimentally, scrollbar steppers can shrink to 8 pixels on + Win32. Reflect that in the theme. + * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Experimentally, + there is a 1-pixel border between a scrollbar and its child + in ScrolledWindows on Win32. Reflect that in the theme. + 2005-10-20 Matthias Clasen * gtk/gtklabel.c (gtk_label_create_window): Use GDK_WINDOW_CHILD diff --git a/modules/engines/ms-windows/Theme/gtk-2.0/gtkrc b/modules/engines/ms-windows/Theme/gtk-2.0/gtkrc index b2bc88c27..da1ad4bb4 100755 --- a/modules/engines/ms-windows/Theme/gtk-2.0/gtkrc +++ b/modules/engines/ms-windows/Theme/gtk-2.0/gtkrc @@ -30,8 +30,7 @@ style "msw-default" GtkTreeView::allow-rules = 0 GtkTreeView::expander-size = 12 - # see bug 168326 - GtkScrolledWindow::scrollbar_spacing = 0 + GtkScrolledWindow::scrollbar_spacing = 1 engine "wimp" { diff --git a/modules/engines/ms-windows/msw_style.c b/modules/engines/ms-windows/msw_style.c index ce76e0662..35eb3160f 100755 --- a/modules/engines/ms-windows/msw_style.c +++ b/modules/engines/ms-windows/msw_style.c @@ -726,6 +726,7 @@ setup_msw_rc_style(void) "GtkRange::stepper-spacing = 0\n" "GtkRange::trough_border = 0\n" "GtkScale::slider-length = %d\n" + "GtkScrollbar::min-slider-length = 8\n" "}widget_class \"*VScrollbar*\" style \"msw-vscrollbar\"\n" "widget_class \"*VScale*\" style \"msw-vscrollbar\"\n", GetSystemMetrics(SM_CYVTHUMB), @@ -740,6 +741,7 @@ setup_msw_rc_style(void) "GtkRange::stepper-spacing = 0\n" "GtkRange::trough_border = 0\n" "GtkScale::slider-length = %d\n" + "GtkScrollbar::min-slider-length = 8\n" "}widget_class \"*HScrollbar*\" style \"msw-hscrollbar\"\n" "widget_class \"*HScale*\" style \"msw-hscrollbar\"\n", GetSystemMetrics(SM_CXHTHUMB),