diff options
author | 2013-08-28 22:23:53 +0200 | |
---|---|---|
committer | 2013-08-28 22:23:53 +0200 | |
commit | ef15eec5093deeea23ab2e1967c8fd7de378001b (patch) | |
tree | f8753d1880e01a3324a65a9611c730f6f89f261d /plugins/gtkui/ddblistview.c | |
parent | 1d61239879e12ccbd0ac80fabfd272e8b785e8cf (diff) |
gtkui: fixed column header size on osx
Diffstat (limited to 'plugins/gtkui/ddblistview.c')
-rw-r--r-- | plugins/gtkui/ddblistview.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/gtkui/ddblistview.c b/plugins/gtkui/ddblistview.c index 080b6161..582d11e3 100644 --- a/plugins/gtkui/ddblistview.c +++ b/plugins/gtkui/ddblistview.c @@ -2317,7 +2317,7 @@ ddb_listview_header_configure_event (GtkWidget *widget, { DdbListview *ps = DDB_LISTVIEW (g_object_get_data (G_OBJECT (widget), "owner")); draw_init_font (&ps->hdrctx, gtk_widget_get_style (widget)); - int height = draw_get_listview_rowheight (&ps->hdrctx); + int height = draw_get_listview_rowheight (&ps->hdrctx) + 4; GtkAllocation a; gtk_widget_get_allocation (widget, &a); if (height != a.height) { @@ -2357,8 +2357,6 @@ ddb_listview_header_realize (GtkWidget *widget, { // create cursor for sizing headers DdbListview *listview = DDB_LISTVIEW (g_object_get_data (G_OBJECT (widget), "owner")); - int h = draw_get_font_size (&listview->hdrctx); - gtk_widget_set_size_request (widget, -1, h + 10); listview->cursor_sz = gdk_cursor_new (GDK_SB_H_DOUBLE_ARROW); listview->cursor_drag = gdk_cursor_new (GDK_FLEUR); } |