[Libreoffice-commits] core.git: vcl/unx
Samuel Mehrbrodt
s.mehrbrodt at gmail.com
Tue Oct 29 15:08:30 CET 2013
vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 24e5614da671f6809e8c9c2ced550e89ba0bca0a
Author: Samuel Mehrbrodt <s.mehrbrodt at gmail.com>
Date: Sun Oct 27 01:19:54 2013 +0200
fdo#40077 Characters cropped in GTK-based ComboBox
Change-Id: I589ddfee1f69f5e8ba74dcc6abf9afb97cdf367d
Reviewed-on: https://gerrit.libreoffice.org/6444
Reviewed-by: Adolfo Jayme Barrientos <fito at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
index a80112d..9821dee 100644
--- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
@@ -2609,7 +2609,7 @@ static Rectangle NWGetComboBoxButtonRect( SalX11Screen nScreen,
gint adjust_x = GTK_CONTAINER(gWidgetData[nScreen].gComboWidget)->border_width +
nFocusWidth +
nFocusPad;
- gint adjust_y = adjust_x + gWidgetData[nScreen].gComboWidget->style->ythickness;
+ gint adjust_y = gWidgetData[nScreen].gComboWidget->style->ythickness;
adjust_x += gWidgetData[nScreen].gComboWidget->style->xthickness;
aButtonRect.SetSize( Size( aAreaRect.GetWidth() - nButtonWidth - 2 * adjust_x,
aAreaRect.GetHeight() - 2 * adjust_y ) );
More information about the Libreoffice-commits
mailing list