[Libreoffice-commits] core.git: include/vcl

Thomas Arnhold thomas at arnhold.org
Fri May 9 03:17:31 PDT 2014


 include/vcl/settings.hxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 32be757cc3c4931b46de31813d50fd1368c72115
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Fri May 9 02:57:54 2014 +0200

    Related fdo#78323 GtkFrame has additional padding
    
    Comparing the three tab pages, shows that the preview field at the bottom is different:
    
    Line: GtkBox
    Line Styles and Arrow Styles: GtkFrame
    
    The preview field is exactly 2 px smaller for the GtkFrame tab pages, compared to GtkBox tab page.
    
    This patch fixes this. Now all tab pages look the same.
    
    Change-Id: Ia94bda6c37fee3c8864f8351e157b2026a735361
    Reviewed-on: https://gerrit.libreoffice.org/9283
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/include/vcl/settings.hxx b/include/vcl/settings.hxx
index 403ca40..0a6c6e9 100644
--- a/include/vcl/settings.hxx
+++ b/include/vcl/settings.hxx
@@ -146,10 +146,10 @@ struct FrameStyle
     int top;
     int bottom;
     FrameStyle()
-        : left(2)
-        , right(2)
-        , top(2)
-        , bottom(2)
+        : left(0)
+        , right(0)
+        , top(0)
+        , bottom(0)
     {}
 };
 


More information about the Libreoffice-commits mailing list