mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 10:17:41 +00:00
4961 more adjustments to resizing of registry file viewer
This commit is contained in:
parent
dc3923cb3c
commit
8e9487cf14
@ -100,8 +100,8 @@ final class HexView extends JPanel implements CaretListener {
|
|||||||
// status bar
|
// status bar
|
||||||
statusView.setBorder(new BevelBorder(BevelBorder.LOWERED));
|
statusView.setBorder(new BevelBorder(BevelBorder.LOWERED));
|
||||||
this.add(statusView, BorderLayout.SOUTH);
|
this.add(statusView, BorderLayout.SOUTH);
|
||||||
|
statusView.setPreferredSize(new Dimension(this.getWidth(), 18));
|
||||||
statusView.setLayout(new BoxLayout(statusView, BoxLayout.X_AXIS));
|
statusView.setLayout(new BoxLayout(statusView, BoxLayout.X_AXIS));
|
||||||
statusView.setPreferredSize(new Dimension(0,0));
|
|
||||||
this.statusLabel = new JLabel("");
|
this.statusLabel = new JLabel("");
|
||||||
this.statusLabel.setHorizontalAlignment(SwingConstants.LEFT);
|
this.statusLabel.setHorizontalAlignment(SwingConstants.LEFT);
|
||||||
statusView.add(this.statusLabel);
|
statusView.add(this.statusLabel);
|
||||||
|
@ -119,7 +119,7 @@ public final class RejTreeKeyView extends RejTreeNodeView {
|
|||||||
table.setAutoCreateRowSorter(true);
|
table.setAutoCreateRowSorter(true);
|
||||||
table.setCellSelectionEnabled(false);
|
table.setCellSelectionEnabled(false);
|
||||||
table.setRowSelectionAllowed(true);
|
table.setRowSelectionAllowed(true);
|
||||||
table.setIntercellSpacing(new Dimension(0, 0));
|
table.setIntercellSpacing(new Dimension(10, 1));
|
||||||
|
|
||||||
// inspiration for packing the columns from:
|
// inspiration for packing the columns from:
|
||||||
// http://jroller.com/santhosh/entry/packing_jtable_columns
|
// http://jroller.com/santhosh/entry/packing_jtable_columns
|
||||||
|
@ -69,7 +69,7 @@ final class RejTreeView extends JScrollPane implements TreeExpansionListener, Tr
|
|||||||
this.tree.collapsePath(new TreePath(rootNode.getPath()));
|
this.tree.collapsePath(new TreePath(rootNode.getPath()));
|
||||||
this.tree.expandPath(new TreePath(rootNode.getPath()));
|
this.tree.expandPath(new TreePath(rootNode.getPath()));
|
||||||
setViewportView(this.tree);
|
setViewportView(this.tree);
|
||||||
setPreferredSize(new Dimension(0,0));
|
setPreferredSize(new Dimension(350,20));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user