From e86b891320f443ec6c8de4b5c6948db4f9fd41ba Mon Sep 17 00:00:00 2001 From: Pascal Abresch Date: Thu, 8 Aug 2024 01:41:51 +0200 Subject: [PATCH] ResEdit: fix rendering in Dark mode Change-Id: I70d14750e1d695ab6448d066d94065357ee75ada Reviewed-on: https://review.haiku-os.org/c/haiku/+/7957 Reviewed-by: waddlesplash --- src/apps/resedit/ResView.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/apps/resedit/ResView.cpp b/src/apps/resedit/ResView.cpp index c1152c86bf..eb1209d5ec 100644 --- a/src/apps/resedit/ResView.cpp +++ b/src/apps/resedit/ResView.cpp @@ -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);