Skip to content

Commit 01d255a

Browse files
mierin12buchen
authored andcommitted
fix background color of colored label
1 parent 12ea301 commit 01d255a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/util/swt/ColoredLabel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ private void handlePaint(Event e)
8686
{
8787
Rectangle bounds = getClientArea();
8888

89-
Color background = backdropColor != null ? backdropColor : getBackground();
89+
Color background = backdropColor != null ? backdropColor : getParent().getBackground();
9090

9191
e.gc.setBackground(background);
9292
e.gc.fillRectangle(bounds.x, bounds.y, bounds.width, bounds.height);

0 commit comments

Comments
 (0)