Project

General

Profile

Revision de639281

IDde639281c2038c0ec1ce3499ffe7a54474c2902a
Parent c59d0b17
Child 5239ef50

Added by Patrick Plitzner almost 4 years ago

ref #7095 Increase header font size

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/workingSet/matrix/CharacterMatrix.java
93 93
import org.eclipse.nebula.widgets.nattable.selection.event.CellSelectionEvent;
94 94
import org.eclipse.nebula.widgets.nattable.sort.SortHeaderLayer;
95 95
import org.eclipse.nebula.widgets.nattable.sort.config.SingleClickSortConfiguration;
96
import org.eclipse.nebula.widgets.nattable.style.BorderStyle;
97
import org.eclipse.nebula.widgets.nattable.style.BorderStyle.LineStyleEnum;
98 96
import org.eclipse.nebula.widgets.nattable.style.CellStyleAttributes;
99 97
import org.eclipse.nebula.widgets.nattable.style.DisplayMode;
100 98
import org.eclipse.nebula.widgets.nattable.style.HorizontalAlignmentEnum;
......
419 417
        natTableConfiguration.fgColor = GUIHelper.getColor(30, 76, 19);
420 418
        natTableConfiguration.hAlign = HorizontalAlignmentEnum.LEFT;
421 419
        natTableConfiguration.vAlign = VerticalAlignmentEnum.TOP;
420
//        natTableConfiguration.borderStyle = new BorderStyle(1, GUIHelper.getColor(249, 172, 7), LineStyleEnum.SOLID);
422 421

  
423 422
        // Setup even odd row colors - row colors override the NatTable default
424 423
        // colors
......
431 430
//        selectionStyle.selectionFont = GUIHelper.getFont(new FontData("Verdana", 8, SWT.NORMAL));
432 431
//        selectionStyle.selectionBgColor = GUIHelper.getColor(217, 232, 251);
433 432
//        selectionStyle.selectionFgColor = GUIHelper.COLOR_BLACK;
434
        selectionStyle.anchorBorderStyle = new BorderStyle(1, GUIHelper.COLOR_DARK_GRAY, LineStyleEnum.SOLID);
433
//        selectionStyle.anchorBorderStyle = new BorderStyle(1, GUIHelper.COLOR_DARK_GRAY, LineStyleEnum.SOLID);
435 434
//        selectionStyle.anchorBgColor = GUIHelper.getColor(65, 113, 43);
436 435
        selectionStyle.selectedHeaderBgColor = GUIHelper.getColor(156, 209, 103);
437 436

  
......
447 446
        natTable.addConfiguration(rowHeaderConfig);
448 447
        DefaultColumnHeaderStyleConfiguration columnHeaderStyle = new DefaultColumnHeaderStyleConfiguration();
449 448
        columnHeaderStyle.bgColor = rowColumnColor;
450
        columnHeaderStyle.font = GUIHelper.getFont(new FontData("Verdana", 8, SWT.BOLD));
449
        columnHeaderStyle.font = GUIHelper.getFont(new FontData("Verdana", 9, SWT.BOLD));
451 450
        natTable.addConfiguration(columnHeaderStyle);
452 451

  
453 452
    }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)