mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 08:26:15 +00:00
6985 attempt to fix resizing
This commit is contained in:
parent
bb6a593300
commit
f896b67248
@ -1,6 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<Form version="1.4" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
|
||||
<Properties>
|
||||
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
||||
<Dimension value="[500, 0]"/>
|
||||
</Property>
|
||||
</Properties>
|
||||
<AuxValues>
|
||||
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="1"/>
|
||||
<AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
|
||||
|
@ -50,6 +50,7 @@ final class ContentViewerDetailsPanel extends AbstractArtifactDetailsPanel {
|
||||
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
|
||||
private void initComponents() {
|
||||
|
||||
setPreferredSize(new java.awt.Dimension(500, 0));
|
||||
setLayout(new java.awt.BorderLayout());
|
||||
}// </editor-fold>//GEN-END:initComponents
|
||||
|
||||
|
@ -50,7 +50,7 @@
|
||||
<Dimension value="[0, 0]"/>
|
||||
</Property>
|
||||
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
||||
<Dimension value="[0, 0]"/>
|
||||
<Dimension value="[300, 0]"/>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Constraints>
|
||||
|
@ -56,7 +56,7 @@ class MiniTimelinePanel extends javax.swing.JPanel {
|
||||
public void valueChanged(ListSelectionEvent event) {
|
||||
if (!event.getValueIsAdjusting()) {
|
||||
BlackboardArtifact artifact = artifactListPanel.getSelectedArtifact();
|
||||
if (artifact.getArtifactTypeID() == BlackboardArtifact.ARTIFACT_TYPE.TSK_WEB_CACHE.getTypeID() || artifact.getArtifactTypeID() == BlackboardArtifact.ARTIFACT_TYPE.TSK_WEB_DOWNLOAD.getTypeID()) {
|
||||
if (artifact != null && (artifact.getArtifactTypeID() == BlackboardArtifact.ARTIFACT_TYPE.TSK_WEB_CACHE.getTypeID() || artifact.getArtifactTypeID() == BlackboardArtifact.ARTIFACT_TYPE.TSK_WEB_DOWNLOAD.getTypeID())) {
|
||||
rightPanel = new ContentViewerDetailsPanel();
|
||||
} else {
|
||||
rightPanel = new GeneralPurposeArtifactViewer();
|
||||
@ -167,7 +167,7 @@ class MiniTimelinePanel extends javax.swing.JPanel {
|
||||
|
||||
leftSplitPane.setResizeWeight(0.5);
|
||||
leftSplitPane.setMinimumSize(new java.awt.Dimension(0, 0));
|
||||
leftSplitPane.setPreferredSize(new java.awt.Dimension(0, 0));
|
||||
leftSplitPane.setPreferredSize(new java.awt.Dimension(300, 0));
|
||||
mainSplitPane.setLeftComponent(leftSplitPane);
|
||||
|
||||
add(mainSplitPane, java.awt.BorderLayout.CENTER);
|
||||
|
Loading…
x
Reference in New Issue
Block a user