Use defualt font siz for log
[lgpl/argeo-commons.git] / security / plugins / org.argeo.security.ui / src / main / java / org / argeo / security / ui / views / LogView.java
index 56857d3b533bbb8e146637ec64d3a0b301db028a..e783ba6f8ccbaba0fee330ae152527f1dc007ef9 100644 (file)
@@ -11,7 +11,6 @@ import org.eclipse.jface.viewers.TableViewer;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.graphics.Font;
 import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Display;
 import org.eclipse.swt.widgets.Table;
 import org.eclipse.ui.part.ViewPart;
 
@@ -29,8 +28,7 @@ public class LogView extends ViewPart {
 
        @Override
        public void createPartControl(Composite parent) {
-               Font font = JFaceResources.getTextFontDescriptor().setHeight(8)
-                               .createFont(Display.getCurrent());
+               Font font = JFaceResources.getTextFont();
                Table table = new Table(parent, SWT.VIRTUAL | SWT.MULTI | SWT.H_SCROLL
                                | SWT.V_SCROLL | SWT.FULL_SELECTION | SWT.BORDER);
                table.setFont(font);