Sorry to be pedantic, but she didn't 'win' the case then, if there was an out of court settlement.
In an out of court settlement, both sides agree to not to proceed with the court case and an exchange of money is agreed.
The solicitor advising you should have taken into account the costs that you had incurred to date (both his own and other independents such as consultants) in advising you whether to accept the out of court settlement. Their fees will invariably have to be taken out of the sum received from the other side.