Robb's two big-screen appearances in 2005 were both adaptations of popular children's books. She starred as Opal in "Because of Winn-Dixie" and as the competitive and rude Violet Beauregarde in Tim Burton's remake of "Charlie and the Chocolate Factory". The latter was a major box office success worldwide, and helped escalate Robb's popularity among pre-teen audiences.