From 531bc71bf9de0c9f4369fe50d0ca32e08f97b5d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Tue, 14 Oct 2008 18:36:07 +0000 Subject: [PATCH] Use the parent's low color, not view color for the icon background and frame base color. Fixes the frame looking much too strong. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28097 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/launchbox/IconButton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/launchbox/IconButton.cpp b/src/apps/launchbox/IconButton.cpp index 2d4d9ac94f..f409653520 100644 --- a/src/apps/launchbox/IconButton.cpp +++ b/src/apps/launchbox/IconButton.cpp @@ -79,7 +79,7 @@ IconButton::Draw(BRect area) { rgb_color background = LowColor(); if (BView* parent = Parent()) - background = parent->ViewColor(); + background = parent->LowColor(); rgb_color lightShadow, shadow, darkShadow, light; BRect r(Bounds()); BBitmap* bitmap = fNormalBitmap;