4961 more adjustments to resizing of registry file viewer

This commit is contained in:
William Schaefer 2019-05-10 16:46:11 -04:00
parent dc3923cb3c
commit 8e9487cf14
3 changed files with 3 additions and 3 deletions

View File

@ -100,8 +100,8 @@ final class HexView extends JPanel implements CaretListener {
// status bar
statusView.setBorder(new BevelBorder(BevelBorder.LOWERED));
this.add(statusView, BorderLayout.SOUTH);
statusView.setPreferredSize(new Dimension(this.getWidth(), 18));
statusView.setLayout(new BoxLayout(statusView, BoxLayout.X_AXIS));
statusView.setPreferredSize(new Dimension(0,0));
this.statusLabel = new JLabel("");
this.statusLabel.setHorizontalAlignment(SwingConstants.LEFT);
statusView.add(this.statusLabel);

View File

@ -119,7 +119,7 @@ public final class RejTreeKeyView extends RejTreeNodeView {
table.setAutoCreateRowSorter(true);
table.setCellSelectionEnabled(false);
table.setRowSelectionAllowed(true);
table.setIntercellSpacing(new Dimension(0, 0));
table.setIntercellSpacing(new Dimension(10, 1));
// inspiration for packing the columns from:
// http://jroller.com/santhosh/entry/packing_jtable_columns

View File

@ -69,7 +69,7 @@ final class RejTreeView extends JScrollPane implements TreeExpansionListener, Tr
this.tree.collapsePath(new TreePath(rootNode.getPath()));
this.tree.expandPath(new TreePath(rootNode.getPath()));
setViewportView(this.tree);
setPreferredSize(new Dimension(0,0));
setPreferredSize(new Dimension(350,20));
}
/**