]> Pileus Git - ~andy/gtk/commitdiff
Experimentally, scrollbar steppers can shrink to 8 pixels on Win32.
authorDom Lachowicz <doml@src.gnome.org>
Sat, 22 Oct 2005 15:53:00 +0000 (15:53 +0000)
committerDom Lachowicz <doml@src.gnome.org>
Sat, 22 Oct 2005 15:53:00 +0000 (15:53 +0000)
* 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.

ChangeLog
ChangeLog.pre-2-10
modules/engines/ms-windows/Theme/gtk-2.0/gtkrc
modules/engines/ms-windows/msw_style.c

index d12b8aa87905cc1a2ebc3f27e8cdc69191b90f38..db5d00b53e3a7c617f9e0bdd46560a9c7402c1b5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2005-10-22  Dom Lachowicz <cinamod@hotmail.com>
+
+       * 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  <mclasen@redhat.com>
 
        * gtk/gtklabel.c (gtk_label_create_window): Use GDK_WINDOW_CHILD
index d12b8aa87905cc1a2ebc3f27e8cdc69191b90f38..db5d00b53e3a7c617f9e0bdd46560a9c7402c1b5 100644 (file)
@@ -1,3 +1,12 @@
+2005-10-22  Dom Lachowicz <cinamod@hotmail.com>
+
+       * 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  <mclasen@redhat.com>
 
        * gtk/gtklabel.c (gtk_label_create_window): Use GDK_WINDOW_CHILD
index b2bc88c27b01d356a3c57d08cdc3f74882f23588..da1ad4bb499ab9fcc134fd7019f40f0bece43e91 100755 (executable)
@@ -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" 
   {
index ce76e066259e7156fbde104cfc92a4a66de06087..35eb3160f17474fd77a01bd8e85a904a171f3ca6 100755 (executable)
@@ -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),