diff options
author | Samuel Mehrbrodt <s.mehrbrodt@gmail.com> | 2013-10-27 01:19:54 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-10-29 14:08:08 +0000 |
commit | 24e5614da671f6809e8c9c2ced550e89ba0bca0a (patch) | |
tree | fa85235fad23d81a71ae4c84158b28bc495cea63 /vcl | |
parent | 298305d2c0f7ad4166345814633060b26dec3976 (diff) |
fdo#40077 Characters cropped in GTK-based ComboBox
Change-Id: I589ddfee1f69f5e8ba74dcc6abf9afb97cdf367d
Reviewed-on: https://gerrit.libreoffice.org/6444
Reviewed-by: Adolfo Jayme Barrientos <fito@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx index a80112d65cb4..9821dee45e2b 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 ) ); |