- Changed BColorControl cellsize to account for the fixes in BColorControl. A rounding error gave the right appearance. see r23671 and r23680. Also, we might want to check the minimum cellsize in R5 and use the same for compatibility.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25931 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -76,7 +76,7 @@ AppearancePrefView::AppearancePrefView(BRect frame, const char *name,
|
|||||||
AddChild(fColorField);
|
AddChild(fColorField);
|
||||||
|
|
||||||
fColorControl = SetupColorControl(BPoint(r.left, r.bottom + 10),
|
fColorControl = SetupColorControl(BPoint(r.left, r.bottom + 10),
|
||||||
B_CELLS_32x8, 6, MSG_COLOR_CHANGED);
|
B_CELLS_32x8, 7.0, MSG_COLOR_CHANGED);
|
||||||
fColorControl->SetValue(PrefHandler::Default()->getRGB(PREF_TEXT_FORE_COLOR));
|
fColorControl->SetValue(PrefHandler::Default()->getRGB(PREF_TEXT_FORE_COLOR));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user