mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-22 04:05:39 +00:00
GT-2698 - fix HTML for dropdown text field's preview window
This commit is contained in:
parent
c7ce28e94c
commit
eeea912c4d
@ -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…
Reference in New Issue
Block a user