Skip to content

Commit 999408a

Browse files
author
Thomas Singer
committed
ToolItemButtonRenderer: fix background for text items
1 parent 0377ff6 commit 999408a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/toolbar/ToolItemButtonRenderer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public void render(GC gc, Rectangle bounds) {
100100
String text = item.getText();
101101

102102
gc.setForeground(getTextColor());
103-
gc.drawText(text, bounds.x + textBounds.x, bounds.y + textBounds.y);
103+
gc.drawText(text, bounds.x + textBounds.x, bounds.y + textBounds.y, true);
104104
}
105105
}
106106

0 commit comments

Comments
 (0)