Eva Longoria Eva Longoria

Eva Longoria says she was unhappy about her weight loss after her November 2010 split from pro basketball star Tony Parker — even though she was getting compliments.

"I was so thin and everyone kept saying how great I looked and it was probably the most unhealthy place I've ever been," Longoria recalls in the latest cover story of Health magazine.

Photo gallery: Dramatic celebrity weight loss

"So it was funny what people would see as 'healthy,'" she says. "In my worst time, people were saying I've never looked better."The 36-year-old Desperate Housewives actress also discusses the year she spent being a vegan (she calls it her "biggest health regret") and the fact that she previously worked as a personal trainer and aerobics instructor.

Jersey Shore's Snooki reveals dramatic weight loss

"[But now] I have a great diet and exercise routine. And I try to have a healthy outlook. I'm your everlasting, hopeless optimist!"