From dff7bba0da0a73fdb7bf4d8d628579ca9f95311a Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@pulkomandy.ath.cx>
Date: Sun, 30 Oct 2011 17:30:11 +0000
Subject: [PATCH] Patch by oco: use more regular look for size slider in
 DriveSetup partition creation dialog. Thanks!

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43006 a95241bf-73f2-0310-859d-f6bbb57e9c96
---
 src/apps/drivesetup/Support.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/apps/drivesetup/Support.cpp b/src/apps/drivesetup/Support.cpp
index 1c913ed19c..0f2956166d 100644
--- a/src/apps/drivesetup/Support.cpp
+++ b/src/apps/drivesetup/Support.cpp
@@ -102,7 +102,8 @@ SizeSlider::SizeSlider(const char* name, const char* label,
 	fEndOffset(maxValue),
 	fMaxPartitionSize(maxValue)
 {
-	SetBarColor((rgb_color){ 0, 80, 255, 255 });
+	rgb_color fillColor = ui_color(B_CONTROL_HIGHLIGHT_COLOR);
+	UseFillColor(true, &fillColor);
 	char minString[64];
 	char maxString[64];
 	snprintf(minString, sizeof(minString), B_TRANSLATE("Offset: %ld MB"),