Scarlett Johansson showed off her toned legs in a short dress during the premiere of Her at the Rome Film Festival in Italy on Nov. 10.

The newly engaged star sported a floral and medallion-print Dolce & Gabbana dress from the label's Spring 2014 collection. She complemented the look with Jimmy Choo sandals and wore her hair in a ponytail.

The 28-year-old attended the event along with her co-stars Joaquin Phoenix, Rooney Mara and the film's director Spike Jonze.

Scarlett Johansson's Hairstyles Through The Years

The drama follows the life of a lonely writer, played by Phoenix, who falls in love with an operating system, voiced by Johansson. The machine is made to cater to his every need and Johansson is the voice. Other stars in the film include Amy Adams, Olivia Wilde and Chris Pratt.

VIDEO: Scarlett Johansson & Matthew McConaughey Dolce & Gabbana Commercial

"Even though the film takes place in the future, and Samantha isn't human, the kinds of conversations that occur between your character and Joaquin's character are the kinds of conversations that everyone has in relationships," Johansson recently told Interview magazine. "It was just such a spectacular way to think about romance and love-and as people grow apart or become dependent on each other, how honestconversations break down and start to get filled with dishonesty."

Scroll through our gallery to see photos of Johansson at the premiere.