From cb64146dff3369b03a4b3d32769ac4bd8385e49a Mon Sep 17 00:00:00 2001 From: David Linsin Date: Sun, 18 Mar 2012 10:37:21 +0100 Subject: [PATCH] Added description for fractional images #9 * closes #9 --- README.mdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.mdown b/README.mdown index 537a53a..3a81506 100644 --- a/README.mdown +++ b/README.mdown @@ -15,7 +15,7 @@ If you'd like to instantiate it yourself with a custom number of stars use: DLStarRatingControl *ratingControl = [[DLStarRatingControl alloc] initWithFrame:CGRectMake(0, 0, 320, 230) andStars:3 isFractional:YES]; You can set a default value by setting `ratingControl.rating=2.5` and hook up a `DLStarRatingDelegate` to get notified when the user has -changed the rating. +changed the rating. _Note: if you want to use fractional stars, you have to provide images with width [divisible by 10](https://github.com/dlinsin/DLStarRating/issues/9#issuecomment-4438728)._ To customize the stars, simply replace `star.png`/`star@2x.png` and `star_highlighted.png`/`star_highlighted@2x.png` under images.