mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 12:00:04 +02:00
GT-2698 - fix HTML for dropdown text field's preview window
This commit is contained in:
parent
c7ce28e94c
commit
eeea912c4d
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ import javax.swing.event.*;
|
|||
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
import docking.widgets.label.GDLabel;
|
||||
import docking.widgets.label.GDHtmlLabel;
|
||||
import generic.util.WindowUtilities;
|
||||
import ghidra.util.StringUtilities;
|
||||
import ghidra.util.SystemUtilities;
|
||||
|
@ -156,7 +156,7 @@ public class DropDownTextField<T> extends JTextField {
|
|||
}
|
||||
|
||||
protected void setPreviewPaneAttributes() {
|
||||
previewLabel = new GDLabel();
|
||||
previewLabel = new GDHtmlLabel();
|
||||
previewLabel.setOpaque(true);
|
||||
previewLabel.setBackground(TOOLTIP_WINDOW_BGCOLOR);
|
||||
previewLabel.setVerticalAlignment(SwingConstants.TOP);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue