Skip to content

Commit

Permalink
Revert "Fix Cut Off Label on Welcome Page" (eclipse-platform#1013)
Browse files Browse the repository at this point in the history
This reverts commit 9644844.
  • Loading branch information
BeckerWdf authored and Michael5601 committed Feb 12, 2024
1 parent df1e662 commit 941c349
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,13 @@ private HTMLElement generateIntroLink(IntroLink element, int indentLevel) {
anchor2 = generateAnchorElement(element, indentLevel + 1);
labelAnchor = anchor2;
}
// add <IMG src="blank.gif">
String blankImageURL = BundleUtil.getResolvedResourceLocation(IIntroHTMLConstants.IMAGE_SRC_BLANK,
IIntroConstants.PLUGIN_ID);
if (blankImageURL != null) {
anchor1.addContent(generateImageElement(blankImageURL, null, null, IIntroHTMLConstants.IMAGE_CLASS_BG,
indentBase + 1));
}
// add link image, if one is specified
if (element.getImg() != null) {
HTMLElement img = generateIntroElement(element.getImg(), indentBase + 1);
Expand Down

0 comments on commit 941c349

Please sign in to comment.