@Override
  public void updateMarkerMenu(Collection<AutomaticMarker> markers) {
    HashMap<String, JMenu> marksGroups = new HashMap<>();
    HashMap<String, JMenu> unmarksGroups = new HashMap<>();

    automaticMarkersMenu.removeAll();
    automaticUnmarkersMenu.removeAll();
    for (AutomaticMarker automaticMarker : markers) {
      addMarkerToMenu(automaticMarkersMenu, automaticMarker, marksGroups, AutomaticMarkUnamrkActionListener.MODE_MARK);
      addMarkerToMenu(automaticUnmarkersMenu, automaticMarker, unmarksGroups, AutomaticMarkUnamrkActionListener.MODE_UNMARK);
    }
    GuiUtils.sortDirAndAlfabetic(automaticMarkersMenu);
    GuiUtils.sortDirAndAlfabetic(automaticUnmarkersMenu);

  }
Set column size depending on configured display text/icon.
If the header is wider than contend, the width of header will be used.
olv-core/src/main/java/pl/otros/logview/gui/LogViewPanel.java