diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-04-27 16:48:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-04-27 17:12:09 +0100 |
commit | dfec380c3b56ee62c7d9cc1747af5663a0db81fb (patch) | |
tree | 973d4f9ebeae70664ee95cb1fd864a3f41d5fe80 /vcl | |
parent | cb1fda082cc30dba210f293ec6fea8a13363835e (diff) |
gtk3: use same arbitrary 0.2 and 0.8 ratios as gtk does
Change-Id: Ib0d04c00ff4689d53317dedbf67091596cc59fb0
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx index 663843a5c863..0112cedecaf9 100644 --- a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx @@ -961,8 +961,8 @@ bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, co break; case RENDER_TOOLBAR_SEPERATOR: gtk_render_line(context, cr, - rControlRegion.GetWidth() / 2, 3, - rControlRegion.GetWidth() / 2, rControlRegion.GetHeight() - 3 ); + rControlRegion.GetWidth() / 2, rControlRegion.GetHeight() * 0.2, + rControlRegion.GetWidth() / 2, rControlRegion.GetHeight() * 0.8 ); break; case RENDER_ARROW: gtk_render_arrow(context, cr, |