Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/GP-0_dev747368_fix_prevnext_hist…
Browse files Browse the repository at this point in the history
…ory_list_separator_color' into Ghidra_11.1
  • Loading branch information
ryanmkurtz committed May 10, 2024
2 parents 5dc5829 + f8f4d2f commit 15b929f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import docking.action.DockingAction;
import docking.action.MenuData;
import docking.widgets.label.GDHtmlLabel;
import generic.theme.GThemeDefaults.Colors.Palette;
import generic.theme.GThemeDefaults.Colors;
import ghidra.util.HTMLUtilities;

/**
Expand Down Expand Up @@ -57,7 +57,7 @@ public HorizontalRuleAction(String owner, String topName, String bottomName) {
String bottomHtml = HTMLUtilities.escapeHTML(bottomName);
menuData.setMenuItemNamePlain(String.format("""
<html><CENTER><FONT SIZE=2 COLOR="%s">%s<BR>%s</FONT></CENTER>
""", Palette.SILVER, topHtml, bottomHtml));
""", Colors.FOREGROUND_DISABLED, topHtml, bottomHtml));
setMenuBarData(menuData);

// the description is meant to be used for the tooltip and is larger
Expand Down

0 comments on commit 15b929f

Please sign in to comment.