X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0ba6faaeeeec36fe4e6fc376f2f5edc1c0d34334..3ed946f2835520aeae67c69582c068bf2e109008:/include/wx/sizer.h diff --git a/include/wx/sizer.h b/include/wx/sizer.h index 640f7a5681..bd932e89ce 100644 --- a/include/wx/sizer.h +++ b/include/wx/sizer.h @@ -84,9 +84,15 @@ public: static int GetDefaultBorder() { #if wxUSE_BORDER_BY_DEFAULT + #ifdef __WXGTK20__ + // GNOME HIG says to use 6px as the base unit: + // http://library.gnome.org/devel/hig-book/stable/design-window.html.en + return 6; + #else // FIXME: default border size shouldn't be hardcoded and at the very // least they should depend on the current font size return 5; + #endif #else return 0; #endif