mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-05 08:46:02 +02:00
Bug 567822 - [Dark Theme] Several controls using ControlFactory have wrong background (preferences, dialogs)
I don't think "inheriting" by hand the background colors is supposed to be done like this. Removing the lines setting the background to be the same as the parent fixes the issue. I also verified all places in the UI before/after the change. Change-Id: I2eb4cc5afdd303d5d5613fc3d50d67d0c18c7028 Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
This commit is contained in:
parent
219526880f
commit
cebba80b36
1 changed files with 0 additions and 2 deletions
|
@ -277,7 +277,6 @@ public class ControlFactory {
|
|||
button.setText(label);
|
||||
GridData data = new GridData();
|
||||
button.setLayoutData(data);
|
||||
button.setBackground(group.getBackground());
|
||||
button.setForeground(group.getForeground());
|
||||
return button;
|
||||
}
|
||||
|
@ -296,7 +295,6 @@ public class ControlFactory {
|
|||
button.setText(label);
|
||||
GridData data = new GridData();
|
||||
button.setLayoutData(data);
|
||||
button.setBackground(group.getBackground());
|
||||
button.setForeground(group.getForeground());
|
||||
return button;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue