Proposal: Remove 3d box out of the table

From: Gonzalo Odiard <gonzalo_at_laptop.org>
Date: Fri Mar 09 2012 - 14:39:54 CET

Can you remove apply this simple change?
The pixel at the right of the vertical scrollbar prevent using the border
of the screen when the application is maximized (like many other
applicartions do)
and the user need point exactly to the width of the scrollbar.
This affects our Sugar activity too. (http://bugs.sugarlabs.org/ticket/3307)
Thanks!

Gonzalo

[gonzalo@nautilus gtk]$ diff -u ap_UnixFrameImpl.cpp.ori  ap_UnixFrameImpl.cpp
--- ap_UnixFrameImpl.cpp.ori    2012-03-09 10:14:04.496284042 -0300
+++ ap_UnixFrameImpl.cpp    2012-03-09 10:25:59.215476836 -0300
@@ -348,18 +348,12 @@
                          0, 0);
     }
 #endif
-    // create a 3d box and put the table in it, so that we
-    // get a sunken in look.
-    m_wSunkenBox = gtk_frame_new(NULL);
-    gtk_frame_set_shadow_type(GTK_FRAME(m_wSunkenBox), GTK_SHADOW_IN);
-    gtk_container_add(GTK_CONTAINER(m_wSunkenBox), m_grid);

     // (scrollbars are shown, only if needed, by _setScrollRange)
     gtk_widget_show(m_dArea);
     gtk_widget_show(m_innergrid);
     gtk_widget_show(m_grid);
-
-    return m_wSunkenBox;
+    return m_grid;
 }

 void AP_UnixFrameImpl::_hideMenuScroll(bool bHideMenuScroll)
Received on Fri Mar 9 14:40:05 2012

This archive was generated by hypermail 2.1.8 : Fri Mar 09 2012 - 14:40:06 CET