Use defualt font siz for log
[lgpl/argeo-commons.git] / security / plugins / org.argeo.security.ui / src / main / java / org / argeo / security / ui / views / AdminLogView.java
index d99a93ed6d924edba7f0ac4724fb5b1ba55a8ffa..59b18e0a9054793f22d21fc543e4bda9ddc32979 100644 (file)
@@ -10,7 +10,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;
 
@@ -28,8 +27,7 @@ public class AdminLogView extends ViewPart {
        @Override
        public void createPartControl(Composite parent) {
                // FIXME doesn't return a monospace font in RAP
-               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);