From 4f30fedafdd7f465d84b6b1a3eb7f1319ace4d09 Mon Sep 17 00:00:00 2001 From: Tom Densham Date: Thu, 29 Aug 2013 13:56:29 +0100 Subject: [PATCH] FIX: GridField button styling in reports --- code/reports/Report.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/reports/Report.php b/code/reports/Report.php index a76b93b4..3e03987d 100644 --- a/code/reports/Report.php +++ b/code/reports/Report.php @@ -264,8 +264,9 @@ class SS_Report extends ViewableData { new GridFieldSortableHeader(), new GridFieldDataColumns(), new GridFieldPaginator(), - new GridFieldPrintButton(), - new GridFieldExportButton() + new GridFieldButtonRow('after'), + new GridFieldPrintButton('buttons-after-left'), + new GridFieldExportButton('buttons-after-left') ); $gridField = new GridField('Report',false, $items, $gridFieldConfig); $columns = $gridField->getConfig()->getComponentByType('GridFieldDataColumns');