/** * Adds horizontal {@link Separator} widget to table with padding top, bottom 2px with fillX and expandX properties and inserts new row * after separator (not before!) */ public Cell<Separator> addSeparator () { return addSeparator(false); } }
private void rebuildShortcutsList (boolean rebuildRootCache) { shortcutsTable.clear(); shortcutsTable.add(shortcutsMainPanel).left().row(); shortcutsTable.addSeparator(); if (rebuildRootCache) rebuildFileRootsCache(); shortcutsTable.add(shortcutsRootsPanel).left().row(); if (shortcutsFavoritesPanel.getChildren().size > 0) shortcutsTable.addSeparator(); shortcutsTable.add(shortcutsFavoritesPanel).left().row(); }
footerTable.addSeparator(); footerTable.add("Table Footer"); view.setFooter(footerTable);