mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
modified spacerpanel in core.menuitem to prevent keywordsearch text cropping
This commit is contained in:
parent
5938323265
commit
f532209721
@ -31,7 +31,7 @@ import org.openide.util.actions.Presenter;
|
|||||||
class SpacerPanel extends javax.swing.JPanel {
|
class SpacerPanel extends javax.swing.JPanel {
|
||||||
|
|
||||||
SpacerPanel() {
|
SpacerPanel() {
|
||||||
this.setPreferredSize(new Dimension(2000, 20));
|
this.setPreferredSize(new Dimension(1000, 20));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@
|
|||||||
<Component id="listsButton" min="-2" max="-2" attributes="0"/>
|
<Component id="listsButton" min="-2" max="-2" attributes="0"/>
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
<Component id="jSeparator1" min="-2" pref="7" max="-2" attributes="0"/>
|
<Component id="jSeparator1" min="-2" pref="7" max="-2" attributes="0"/>
|
||||||
<EmptySpace min="0" pref="0" max="-2" attributes="0"/>
|
<EmptySpace min="-2" pref="1" max="-2" attributes="0"/>
|
||||||
<Component id="searchDropButton" max="32767" attributes="0"/>
|
<Component id="searchDropButton" min="-2" max="-2" attributes="0"/>
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
</Group>
|
</Group>
|
||||||
@ -97,9 +97,6 @@
|
|||||||
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
||||||
<Dimension value="[146, 27]"/>
|
<Dimension value="[146, 27]"/>
|
||||||
</Property>
|
</Property>
|
||||||
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
|
||||||
<Dimension value="[146, 27]"/>
|
|
||||||
</Property>
|
|
||||||
<Property name="rolloverIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
<Property name="rolloverIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
||||||
<Image iconType="3" name="/org/sleuthkit/autopsy/keywordsearch/searchbutton-icon-rollover.png"/>
|
<Image iconType="3" name="/org/sleuthkit/autopsy/keywordsearch/searchbutton-icon-rollover.png"/>
|
||||||
</Property>
|
</Property>
|
||||||
|
@ -250,13 +250,13 @@ class DropdownToolbar extends javax.swing.JPanel {
|
|||||||
|
|
||||||
setOpaque(false);
|
setOpaque(false);
|
||||||
|
|
||||||
listsButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/org/sleuthkit/autopsy/keywordsearch/watchbutton-icon.png"))); // NOI18N NON-NLS
|
listsButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/org/sleuthkit/autopsy/keywordsearch/watchbutton-icon.png"))); // NOI18N
|
||||||
listsButton.setText(org.openide.util.NbBundle.getMessage(DropdownToolbar.class, "ListBundleName")); // NOI18N
|
listsButton.setText(org.openide.util.NbBundle.getMessage(DropdownToolbar.class, "ListBundleName")); // NOI18N
|
||||||
listsButton.setBorderPainted(false);
|
listsButton.setBorderPainted(false);
|
||||||
listsButton.setContentAreaFilled(false);
|
listsButton.setContentAreaFilled(false);
|
||||||
listsButton.setEnabled(false);
|
listsButton.setEnabled(false);
|
||||||
listsButton.setRolloverIcon(new javax.swing.ImageIcon(getClass().getResource("/org/sleuthkit/autopsy/keywordsearch/watchbutton-icon-rollover.png"))); // NOI18N NON-NLS
|
listsButton.setRolloverIcon(new javax.swing.ImageIcon(getClass().getResource("/org/sleuthkit/autopsy/keywordsearch/watchbutton-icon-rollover.png"))); // NOI18N
|
||||||
listsButton.setRolloverSelectedIcon(new javax.swing.ImageIcon(getClass().getResource("/org/sleuthkit/autopsy/keywordsearch/watchbutton-icon-pressed.png"))); // NOI18N NON-NLS
|
listsButton.setRolloverSelectedIcon(new javax.swing.ImageIcon(getClass().getResource("/org/sleuthkit/autopsy/keywordsearch/watchbutton-icon-pressed.png"))); // NOI18N
|
||||||
listsButton.addMouseListener(new java.awt.event.MouseAdapter() {
|
listsButton.addMouseListener(new java.awt.event.MouseAdapter() {
|
||||||
public void mousePressed(java.awt.event.MouseEvent evt) {
|
public void mousePressed(java.awt.event.MouseEvent evt) {
|
||||||
listsButtonMousePressed(evt);
|
listsButtonMousePressed(evt);
|
||||||
@ -268,16 +268,15 @@ class DropdownToolbar extends javax.swing.JPanel {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
searchDropButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/org/sleuthkit/autopsy/keywordsearch/searchbutton-icon.png"))); // NOI18N NON-NLS
|
searchDropButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/org/sleuthkit/autopsy/keywordsearch/searchbutton-icon.png"))); // NOI18N
|
||||||
searchDropButton.setText(org.openide.util.NbBundle.getMessage(DropdownToolbar.class, "KeywordSearchPanel.searchDropButton.text")); // NOI18N
|
searchDropButton.setText(org.openide.util.NbBundle.getMessage(DropdownToolbar.class, "KeywordSearchPanel.searchDropButton.text")); // NOI18N
|
||||||
searchDropButton.setBorderPainted(false);
|
searchDropButton.setBorderPainted(false);
|
||||||
searchDropButton.setContentAreaFilled(false);
|
searchDropButton.setContentAreaFilled(false);
|
||||||
searchDropButton.setEnabled(false);
|
searchDropButton.setEnabled(false);
|
||||||
searchDropButton.setMaximumSize(new java.awt.Dimension(146, 27));
|
searchDropButton.setMaximumSize(new java.awt.Dimension(146, 27));
|
||||||
searchDropButton.setMinimumSize(new java.awt.Dimension(146, 27));
|
searchDropButton.setMinimumSize(new java.awt.Dimension(146, 27));
|
||||||
searchDropButton.setPreferredSize(new java.awt.Dimension(146, 27));
|
searchDropButton.setRolloverIcon(new javax.swing.ImageIcon(getClass().getResource("/org/sleuthkit/autopsy/keywordsearch/searchbutton-icon-rollover.png"))); // NOI18N
|
||||||
searchDropButton.setRolloverIcon(new javax.swing.ImageIcon(getClass().getResource("/org/sleuthkit/autopsy/keywordsearch/searchbutton-icon-rollover.png"))); // NOI18N NON-NLS
|
searchDropButton.setRolloverSelectedIcon(new javax.swing.ImageIcon(getClass().getResource("/org/sleuthkit/autopsy/keywordsearch/searchbutton-icon-pressed.png"))); // NOI18N
|
||||||
searchDropButton.setRolloverSelectedIcon(new javax.swing.ImageIcon(getClass().getResource("/org/sleuthkit/autopsy/keywordsearch/searchbutton-icon-pressed.png"))); // NOI18N NON-NLS
|
|
||||||
searchDropButton.addMouseListener(new java.awt.event.MouseAdapter() {
|
searchDropButton.addMouseListener(new java.awt.event.MouseAdapter() {
|
||||||
public void mousePressed(java.awt.event.MouseEvent evt) {
|
public void mousePressed(java.awt.event.MouseEvent evt) {
|
||||||
searchDropButtonMousePressed(evt);
|
searchDropButtonMousePressed(evt);
|
||||||
@ -294,8 +293,8 @@ class DropdownToolbar extends javax.swing.JPanel {
|
|||||||
.addComponent(listsButton)
|
.addComponent(listsButton)
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||||
.addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 7, javax.swing.GroupLayout.PREFERRED_SIZE)
|
.addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 7, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
.addGap(0, 0, 0)
|
.addGap(1, 1, 1)
|
||||||
.addComponent(searchDropButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
.addComponent(searchDropButton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
.addContainerGap())
|
.addContainerGap())
|
||||||
);
|
);
|
||||||
layout.setVerticalGroup(
|
layout.setVerticalGroup(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user