ResEdit: fix rendering in Dark mode

Change-Id: I70d14750e1d695ab6448d066d94065357ee75ada
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7957
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Pascal Abresch
2024-08-08 01:17:02 +00:00
committed by waddlesplash
parent c3f534848d
commit e86b891320
-4
View File
@@ -73,10 +73,6 @@ ResView::ResView(const BRect &frame, const char *name, const int32 &resize,
fListView = new ResListView(r, "gridview", B_FOLLOW_ALL, B_WILL_DRAW, B_FANCY_BORDER);
AddChild(fListView);
rgb_color white = { 255, 255, 255, 255 };
fListView->SetColor(B_COLOR_BACKGROUND, white);
fListView->SetColor(B_COLOR_SELECTION, ui_color(B_MENU_BACKGROUND_COLOR));
float width = be_plain_font->StringWidth("00000") + 20;
fListView->AddColumn(new BStringColumn("ID", width, width, 100, B_TRUNCATE_END), 0);